Provides data for the JoystickDevice.Move event. This class is cached for performance reasons - avoid storing references outside the scope of the event. More...
Public Member Functions | |
| JoystickMoveEventArgs (JoystickAxis axis, float value, float delta) | |
| Initializes a new instance of the JoystickMoveEventArgs class. | |
Properties | |
| JoystickAxis | Axis [get, set] |
| Gets a System.Int32 representing the index of the axis that was moved. | |
| float | Value [get, set] |
| Gets a System.Single representing the absolute position of the axis. | |
| float | Delta [get, set] |
| Gets a System.Single representing the relative change in the position of the axis. | |
Provides data for the JoystickDevice.Move event. This class is cached for performance reasons - avoid storing references outside the scope of the event.
Definition at line 225 of file JoystickDevice.cs.
| OpenTK.Input.JoystickMoveEventArgs.JoystickMoveEventArgs | ( | JoystickAxis | axis, | |
| float | value, | |||
| float | delta | |||
| ) |
Initializes a new instance of the JoystickMoveEventArgs class.
| 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. |
Definition at line 243 of file JoystickDevice.cs.
JoystickAxis OpenTK.Input.JoystickMoveEventArgs.Axis [get, set] |
Gets a System.Int32 representing the index of the axis that was moved.
Definition at line 257 of file JoystickDevice.cs.
float OpenTK.Input.JoystickMoveEventArgs.Delta [get, set] |
Gets a System.Single representing the relative change in the position of the axis.
Definition at line 267 of file JoystickDevice.cs.
float OpenTK.Input.JoystickMoveEventArgs.Value [get, set] |
Gets a System.Single representing the absolute position of the axis.
Definition at line 262 of file JoystickDevice.cs.
1.6.1