C# Class OpenTK.Input.JoystickDevice

Represents a joystick device and provides methods to query its status.
Inheritance: IInputDevice
Mostra file Open project: prepare/HTML-Renderer Class Usage Examples

Public Properties

Property Type Description
ButtonDown EventHandler
ButtonUp EventHandler
Move EventHandler

Private Properties

Property Type Description
JoystickDevice System
SetAxis void
SetButton void

Private Methods

Method Description
JoystickDevice ( int id, int axes, int buttons ) : System
SetAxis ( JoystickAxis axis, float @value ) : void
SetButton ( JoystickButton button, bool @value ) : void

Property Details

ButtonDown public_oe property

Occurs when a button of this JoystickDevice instance is pressed.
public EventHandler ButtonDown
return EventHandler

ButtonUp public_oe property

Occurs when a button of this JoystickDevice is released.
public EventHandler ButtonUp
return EventHandler

Move public_oe property

Occurs when an axis of this JoystickDevice instance is moved.
public EventHandler Move
return EventHandler