Click or drag to resize
DigitalRuneDeviceAxis Enumeration
Describes an analog input source, like an axis of joystick.

Namespace: DigitalRune.Game.Input
Assembly: DigitalRune.Game.Input (in DigitalRune.Game.Input.dll) Version: 1.8.0.0 (1.8.0.14467)
Syntax
public enum DeviceAxis
Members
  Member nameValueDescription
MouseXAbsolute0 The x-coordinate of the absolute mouse position.
MouseYAbsolute1 The y-coordinate of the absolute mouse position.
MouseXRelative2 The x-coordinate of the mouse position change since the last frame.
MouseYRelative3 The y-coordinate of the mouse position change since the last frame.
MouseWheel4 The value of the mouse wheel.
GamePadStickLeftX5 The horizontal axis of the left thumb stick on a gamepad.
GamePadStickLeftY6 The vertical axis of the left thumb stick on a gamepad.
GamePadStickRightX7 The horizontal axis of the right thumb stick on a gamepad.
GamePadStickRightY8 The vertical axis of the right thumb stick on a gamepad.
GamePadTriggerLeft9 The value of the left trigger button on a gamepad.
GamePadTriggerRight10 The value of the right trigger button on a gamepad.
See Also