Small wrapper class for joystick number and button number. More...
Public Member Functions | |
| Joystick (unsigned int id, unsigned int button) | |
| Constructor. | |
Public Attributes | |
| unsigned int | Id |
| The joystick number. | |
| unsigned int | Button |
| The joystick button number. | |
Small wrapper class for joystick number and button number.
| thor::Joystick::Joystick | ( | unsigned int | id, |
| unsigned int | button | ||
| ) |
Constructor.
Note that you can also construct a joystick id and button property with the following more expressive syntax:
thor::Joystick j = thor::Joy(id).Button(button);