Class InputControllerBase
Inheritance
Implements
Inherited Members
Namespace: EyeAuras.Roxy.Shared
Assembly: EyeAuras.Roxy.Shared.dll
Syntax
public abstract class InputControllerBase : SharedResourceBase, ISharedResource, INotifyPropertyChanged, IInputController, IKeyboardController, IMouseController, IDisposable, IMouseButtonController, IMouseAbsoluteController, IMouseRelativeController
Constructors
Name | Description |
---|---|
InputControllerBase() |
Properties
Name | Description |
---|---|
CursorPosition | Provides the current position of the cursor. |
InputDeviceState | Provides the current state of the input devices. |
Log |
Methods
Name | Description |
---|---|
KeyDown(IWindowHandle, VirtualKeyCode) | Simulates the key down gesture for the specified key. |
KeyUp(IWindowHandle, VirtualKeyCode) | Simulates the key up gesture for the specified key. |
LeftButtonDown(IWindowHandle, Point) | Simulates a mouse left button down gesture. |
LeftButtonUp(IWindowHandle, Point) | Simulates a mouse left button up gesture. |
MiddleButtonDown(IWindowHandle, Point) | Simulates a mouse middle button down gesture. |
MiddleButtonUp(IWindowHandle, Point) | Simulates a mouse middle button up gesture. |
MouseWheelHorizontalScroll(IWindowHandle, int) | |
MouseWheelVerticalScroll(IWindowHandle, int) | |
MoveMouseBy(IWindowHandle, int, int) | Simulates a mouse movement by the specified distances relative to its current position. |
MoveMouseTo(IWindowHandle, Point) | Simulates mouse movement to the specified location relative to window position. |
MoveMouseTo(IWindowHandle, Point, IUserInputSmoother, CancellationToken) | Simulates mouse movement to the specified location relative to window position using specified input smoother |
RightButtonDown(IWindowHandle, Point) | Simulates a mouse right button down gesture. |
RightButtonUp(IWindowHandle, Point) | Simulates a mouse right button up gesture. |
Sleep(TimeSpan, CancellationToken) | Sleeps the executing thread to create a pause between simulated inputs. |
XButtonDown(IWindowHandle, int, Point) | Simulates a mouse X button down gesture. |
XButtonUp(IWindowHandle, int, Point) | Simulates a mouse X button up gesture. |