HIDConnector ​
A HID connector for sending keyboard, mouse, and gamepad input to a target process.
Kind: Class
Namespace: ConnectorLib
Inheritance: ConnectorBase → IDisposable → IGameConnector
Public Constructors
Creates a new instance of the ConnectorLib.HIDConnector class.
Public Member Functions
void
Finds a target process by its name.
Task
Task
bool
Sets the value of the left thumbstick's X-axis on the virtual gamepad.
bool
Sets the value of the left thumbstick's Y-axis on the virtual gamepad.
bool
Sets the value of both left thumbstick axes on the virtual gamepad.
bool
Sets the value of the right thumbstick's X-axis on the virtual gamepad.
bool
Sets the value of the right thumbstick's Y-axis on the virtual gamepad.
bool
Sets the value of both right thumbstick axes on the virtual gamepad.
bool
Sets the value of the left analog trigger on the virtual gamepad.
bool
Sets the value of the right analog trigger on the virtual gamepad.
bool
Presses a button on the virtual gamepad for the default duration.
bool
bool
bool
Holds a button down on the virtual gamepad.
bool
Releases a button on the virtual gamepad.
bool
Moves the mouse cursor to the specified location within the target process's client area.
bool
Moves the mouse cursor to the specified location within the target process's client area.
bool
Moves the mouse cursor to the specified location within the target process's client area.
bool
Clicks the left mouse button at the current cursor location.
bool
Clicks the left mouse button at the current cursor location.
bool
Clicks the left mouse button at the current cursor location.
bool
Clicks the left mouse button at the current cursor location.
bool
Double-clicks the left mouse button at the current cursor location.
bool
Double-clicks the left mouse button at the current cursor location.
bool
Double-clicks the left mouse button at the current cursor location.
bool
Double-clicks the left mouse button at the current cursor location.
bool
Clicks the right mouse button at the current cursor location.
bool
Clicks the right mouse button at the current cursor location.
bool
Clicks the right mouse button at the current cursor location.
bool
Clicks the right mouse button at the current cursor location.
bool
Double-clicks the right mouse button at the current cursor location.
bool
Double-clicks the right mouse button at the current cursor location.
bool
Double-clicks the right mouse button at the current cursor location.
bool
Double-clicks the right mouse button at the current cursor location.
bool
Clicks the middle mouse button at the current cursor location.
bool
Clicks the middle mouse button at the current cursor location.
bool
Clicks the middle mouse button at the current cursor location.
bool
Clicks the middle mouse button at the current cursor location.
bool
Double-clicks the middle mouse button at the current cursor location.
bool
Double-clicks the middle mouse button at the current cursor location.
bool
Double-clicks the middle mouse button at the current cursor location.
bool
Double-clicks the middle mouse button at the current cursor location.
bool
Scrolls the mouse wheel vertically by the specified number of clicks.
bool
Scrolls the mouse wheel horizontally by the specified number of clicks.
bool
Presses a key on the keyboard.
bool
Presses a key on the keyboard.
bool
Presses a key on the keyboard.
bool
Presses a key on the keyboard.
bool
Holds a key on the keyboard.
bool
Releases a key on the keyboard.
Properties
Process
TargetProcess
[get, set]
The target process to which the HID connector will send input.
TimeSpan
ButtonPressDuratiion
[get, set]
Default duration for button press actions.
bool
Connected
[get, ]
