| DeviceAxis Enumeration |
Describes an analog input source, like an axis of joystick.
Namespace: DigitalRune.Game.InputAssembly: DigitalRune.Game.Input (in DigitalRune.Game.Input.dll) Version: 1.8.0.0 (1.8.0.14467)
Syntax Public Enumeration DeviceAxis
public enum class DeviceAxis
Members
| Member name | Value | Description |
---|
| MouseXAbsolute | 0 |
The x-coordinate of the absolute mouse position.
|
| MouseYAbsolute | 1 |
The y-coordinate of the absolute mouse position.
|
| MouseXRelative | 2 |
The x-coordinate of the mouse position change since the last frame.
|
| MouseYRelative | 3 |
The y-coordinate of the mouse position change since the last frame.
|
| MouseWheel | 4 |
The value of the mouse wheel.
|
| GamePadStickLeftX | 5 |
The horizontal axis of the left thumb stick on a gamepad.
|
| GamePadStickLeftY | 6 |
The vertical axis of the left thumb stick on a gamepad.
|
| GamePadStickRightX | 7 |
The horizontal axis of the right thumb stick on a gamepad.
|
| GamePadStickRightY | 8 |
The vertical axis of the right thumb stick on a gamepad.
|
| GamePadTriggerLeft | 9 |
The value of the left trigger button on a gamepad.
|
| GamePadTriggerRight | 10 |
The value of the right trigger button on a gamepad.
|
See Also