Table of Contents

Class InputProviderMouseMoveEventArgs

Namespace
Artemis.Core.Services
Assembly
Artemis.Core.dll

Contains data for input provider mouse movement events

public class InputProviderMouseMoveEventArgs : EventArgs
Inheritance
object
InputProviderMouseMoveEventArgs
Inherited Members

Constructors

InputProviderMouseMoveEventArgs(ArtemisDevice?, int, int, int, int)

public InputProviderMouseMoveEventArgs(ArtemisDevice? device, int cursorX, int cursorY, int deltaX, int deltaY)

Parameters

device ArtemisDevice

The device that triggered the event

cursorX int

The X position of the mouse cursor (not necessarily tied to the specific device)

cursorY int

The Y position of the mouse cursor (not necessarily tied to the specific device)

deltaX int

The movement delta in the horizontal direction

deltaY int

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)

public int CursorX { get; }

Property Value

int

CursorY

Gets the Y position of the mouse cursor in pixels (not necessarily tied to the specific device)

public int CursorY { get; }

Property Value

int

DeltaX

Gets the movement delta in the horizontal direction in pixels

public int DeltaX { get; }

Property Value

int

DeltaY

Gets the movement delta in the vertical direction in pixels

public int DeltaY { get; }

Property Value

int

Device

Gets the device that triggered the event

public ArtemisDevice? Device { get; }

Property Value

ArtemisDevice