C# Class OpenTK.Input.JoystickButtonCollection

Defines a collection of JoystickButtons.
Mostra file Open project: prepare/HTML-Renderer Class Usage Examples

Public Methods

Method Description
this ( JoystickButton button ) : bool

Gets a System.Boolean indicating whether the specified JoystickButton is pressed.

this ( int index ) : bool

Gets a System.Boolean indicating whether the JoystickButton with the specified index is pressed.

Private Methods

Method Description
JoystickButtonCollection ( int numButtons ) : System

Method Details

this() public method

Gets a System.Boolean indicating whether the specified JoystickButton is pressed.
public this ( JoystickButton button ) : bool
button JoystickButton The JoystickButton to check.
return bool

this() public method

Gets a System.Boolean indicating whether the JoystickButton with the specified index is pressed.
public this ( int index ) : bool
index int The index of the JoystickButton to check.
return bool