Class InputProviderMouseMoveEventArgs
Contains data for input provider mouse movement events
Inherited Members
Namespace: Artemis.Core.Services
Assembly: Artemis.Core.dll
Syntax
public class InputProviderMouseMoveEventArgs : EventArgs
Constructors
InputProviderMouseMoveEventArgs(ArtemisDevice?, int, int, int, int)
Declaration
public InputProviderMouseMoveEventArgs(ArtemisDevice? device, int cursorX, int cursorY, int deltaX, int deltaY)
Parameters
Type | Name | Description |
---|---|---|
ArtemisDevice | device | The device that triggered the event |
int | cursorX | The X position of the mouse cursor (not necessarily tied to the specific device) |
int | cursorY | The Y position of the mouse cursor (not necessarily tied to the specific device) |
int | deltaX | The movement delta in the horizontal direction |
int | deltaY | The 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)
Declaration
public int CursorX { get; }
Property Value
Type | Description |
---|---|
int |
CursorY
Gets the Y position of the mouse cursor in pixels (not necessarily tied to the specific device)
Declaration
public int CursorY { get; }
Property Value
Type | Description |
---|---|
int |
DeltaX
Gets the movement delta in the horizontal direction in pixels
Declaration
public int DeltaX { get; }
Property Value
Type | Description |
---|---|
int |
DeltaY
Gets the movement delta in the vertical direction in pixels
Declaration
public int DeltaY { get; }
Property Value
Type | Description |
---|---|
int |
Device
Gets the device that triggered the event
Declaration
public ArtemisDevice? Device { get; }
Property Value
Type | Description |
---|---|
ArtemisDevice |