Class InputProviderMouseMoveEventArgs
Contains data for input provider mouse movement events
public class InputProviderMouseMoveEventArgs : EventArgs
- Inheritance
-
objectInputProviderMouseMoveEventArgs
- Inherited Members
Constructors
InputProviderMouseMoveEventArgs(ArtemisDevice?, int, int, int, int)
public InputProviderMouseMoveEventArgs(ArtemisDevice? device, int cursorX, int cursorY, int deltaX, int deltaY)
Parameters
deviceArtemisDeviceThe device that triggered the event
cursorXintThe X position of the mouse cursor (not necessarily tied to the specific device)
cursorYintThe Y position of the mouse cursor (not necessarily tied to the specific device)
deltaXintThe movement delta in the horizontal direction
deltaYintThe movement delta in the vertical direction
Properties
CursorX
Gets the X position of the mouse cursor in pixels (not necessarily tied to the specific device)
public int CursorX { get; }
Property Value
CursorY
Gets the Y position of the mouse cursor in pixels (not necessarily tied to the specific device)
public int CursorY { get; }
Property Value
DeltaX
Gets the movement delta in the horizontal direction in pixels
public int DeltaX { get; }
Property Value
DeltaY
Gets the movement delta in the vertical direction in pixels
public int DeltaY { get; }
Property Value
Device
Gets the device that triggered the event
public ArtemisDevice? Device { get; }