Represents a joystick device and provides methods to query its status. More...
Public Attributes | |
| EventHandler < JoystickMoveEventArgs > | Move |
| Occurs when an axis of this JoystickDevice instance is moved. | |
| EventHandler < JoystickButtonEventArgs > | ButtonDown |
| Occurs when a button of this JoystickDevice instance is pressed. | |
| EventHandler < JoystickButtonEventArgs > | ButtonUp |
| Occurs when a button of this JoystickDevice is released. | |
Properties | |
| JoystickAxisCollection | Axis [get] |
| Gets a JoystickAxisCollection containing the state of each axis on this instance. Values are normalized in the [-1, 1] range. | |
| JoystickButtonCollection | Button [get] |
| Gets JoystickButtonCollection containing the state of each button on this instance. True indicates that the button is pressed. | |
| string | Description [get, set] |
| Gets a System.String containing a unique description for this instance. | |
| InputDeviceType | DeviceType [get] |
| Gets a value indicating the InputDeviceType of this InputDevice. | |
Represents a joystick device and provides methods to query its status.
Definition at line 36 of file JoystickDevice.cs.
delegate(object sender, JoystickButtonEventArgs e) { }
Occurs when a button of this JoystickDevice instance is pressed.
Definition at line 112 of file JoystickDevice.cs.
| EventHandler<JoystickButtonEventArgs> OpenTK.Input.JoystickDevice.ButtonUp |
delegate(object sender, JoystickButtonEventArgs e) { }
Occurs when a button of this JoystickDevice is released.
Definition at line 118 of file JoystickDevice.cs.
| EventHandler<JoystickMoveEventArgs> OpenTK.Input.JoystickDevice.Move |
delegate(object sender, JoystickMoveEventArgs e) { }
Occurs when an axis of this JoystickDevice instance is moved.
Definition at line 106 of file JoystickDevice.cs.
JoystickAxisCollection OpenTK.Input.JoystickDevice.Axis [get] |
Gets a JoystickAxisCollection containing the state of each axis on this instance. Values are normalized in the [-1, 1] range.
Definition at line 71 of file JoystickDevice.cs.
JoystickButtonCollection OpenTK.Input.JoystickDevice.Button [get] |
Gets JoystickButtonCollection containing the state of each button on this instance. True indicates that the button is pressed.
Definition at line 76 of file JoystickDevice.cs.
string OpenTK.Input.JoystickDevice.Description [get, set] |
Gets a System.String containing a unique description for this instance.
Implements OpenTK.Input.IInputDevice.
Definition at line 86 of file JoystickDevice.cs.
InputDeviceType OpenTK.Input.JoystickDevice.DeviceType [get] |
Gets a value indicating the InputDeviceType of this InputDevice.
Implements OpenTK.Input.IInputDevice.
Definition at line 95 of file JoystickDevice.cs.
1.6.1