Contains information about a joystick number and button number. More...
Public Member Functions | |
JoystickButton (unsigned int joystickId, unsigned int button) | |
Constructor. More... | |
Public Attributes | |
unsigned int | joystickId |
The joystick number. | |
unsigned int | button |
The joystick button number. | |
Contains information about a joystick number and button number.
thor::JoystickButton::JoystickButton | ( | unsigned int | joystickId, |
unsigned int | button | ||
) |
Constructor.
Note that you can also construct a joystick id and button property with the following more expressive syntax: