LibN2L-4 Library Code Reference
Classes
Compounds
Files
Members
Method Index
Full Reference
n2l::cJoystick Class Reference
Interface class for Joysticks.
More...
#include <cJoystick.h>
Collaboration diagram for n2l::cJoystick:
[legend]List of all members.Public Member Functions
Friends
Detailed Description
Interface class for Joysticks.
Using this class will not stop joystick events from being passed.
Definition at line 38 of file cJoystick.h.
Constructor & Destructor Documentation
| n2l::cJoystick::~cJoystick |
( |
|
) |
|
|
Member Function Documentation
| const tFloat & n2l::cJoystick::axis |
( |
const tUint |
iNum |
) |
const |
|
| const tBool n2l::cJoystick::button |
( |
const tUint |
iNum |
) |
const |
|
| const tUint n2l::cJoystick::hat |
( |
const tUint |
iNum |
) |
const |
|
| const tUint n2l::cJoystick::index |
( |
|
) |
const [inline] |
|
| void n2l::cJoystick::inverted |
( |
const tUint |
iAxis, |
|
|
const tBool |
iValue |
|
) |
|
|
| const tString& n2l::cJoystick::name |
( |
|
) |
const [inline] |
|
| const tUint& n2l::cJoystick::numAxes |
( |
|
) |
const [inline] |
|
|
|
No implementation for the balls just yet, I don't have a way to test them.
Definition at line 57 of file cJoystick.h. |
| const tUint& n2l::cJoystick::numBalls |
( |
|
) |
const [inline] |
|
| const tUint& n2l::cJoystick::numButtons |
( |
|
) |
const [inline] |
|
| const tUint& n2l::cJoystick::numHats |
( |
|
) |
const [inline] |
|
Friends And Related Function Documentation
The documentation for this class was generated from the following files: