List of all members | Public Member Functions | Public Attributes
thor::JoystickButton Struct Reference

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.
 

Detailed Description

Contains information about a joystick number and button number.

Constructor & Destructor Documentation

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:

thor::JoystickButton j = thor::joystick(id).button(b);

The documentation for this struct was generated from the following file: