Provides data for the JoystickDevice.Move event. This class is cached for performance reasons - avoid storing references outside the scope of the event.
More...
|
JoystickAxis | Axis [get, set] |
| Gets a System.Int32 representing the index of the axis that was moved. More...
|
|
float | Value [get, set] |
| Gets a System.Single representing the absolute position of the axis. More...
|
|
float | Delta [get, set] |
| Gets a System.Single representing the relative change in the position of the axis. More...
|
|
Provides data for the JoystickDevice.Move event. This class is cached for performance reasons - avoid storing references outside the scope of the event.
OpenTK.Input.JoystickMoveEventArgs.JoystickMoveEventArgs |
( |
JoystickAxis |
axis, |
|
|
float |
value, |
|
|
float |
delta |
|
) |
| |
Initializes a new instance of the JoystickMoveEventArgs class.
- Parameters
-
axis | The index of the joystick axis that was moved. |
value | The absolute value of the joystick axis. |
delta | The relative change in value of the joystick axis. |
Gets a System.Int32 representing the index of the axis that was moved.
float OpenTK.Input.JoystickMoveEventArgs.Delta |
|
getset |
Gets a System.Single representing the relative change in the position of the axis.
float OpenTK.Input.JoystickMoveEventArgs.Value |
|
getset |
Gets a System.Single representing the absolute position of the axis.