Class JoystickButtonEventArgs
Provides data for the ButtonDown and ButtonUp events. This class is cached for performance reasons - avoid storing references outside the scope of the event.
Inherited Members
Namespace: OpenTK.Input
Assembly: OpenTK.dll
Syntax
public class JoystickButtonEventArgs : EventArgs
Properties
Button
The index of the joystick button for the event.
Declaration
public int Button { get; }
Property Value
Type | Description |
---|---|
Int32 |
Pressed
Gets a System.Boolean representing the state of the button for the event.
Declaration
public bool Pressed { get; }
Property Value
Type | Description |
---|---|
Boolean |