Bromeon
Public Member Functions | Public Attributes
thor::Joystick Struct Reference

Small wrapper class for joystick number and button number. More...

List of all members.

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.

Detailed Description

Small wrapper class for joystick number and button number.


Constructor & Destructor Documentation

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);

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