#include <OISJoyStick.h>
Inheritance diagram for OIS::JoyStick:
Public Member Functions | |
virtual | ~JoyStick () |
short | buttons () |
short | axes () |
short | hats () |
virtual void | setEventCallback (JoyStickListener *joyListener) |
JoyStickListener * | getEventCallback () |
const JoyStickState & | getJoyStickState () const |
Static Public Attributes | |
static const int | MIN_AXIS = -32768 |
The minimal axis value. | |
static const int | MAX_AXIS = 32767 |
The maximum axis value. | |
Protected Member Functions | |
JoyStick () | |
Protected Attributes | |
short | numButtons |
short | numAxes |
short | numHats |
JoyStickState | mState |
JoyStickListener * | listener |
virtual OIS::JoyStick::~JoyStick | ( | ) | [inline, virtual] |
OIS::JoyStick::JoyStick | ( | ) | [inline, protected] |
short OIS::JoyStick::buttons | ( | ) | [inline] |
short OIS::JoyStick::axes | ( | ) | [inline] |
short OIS::JoyStick::hats | ( | ) | [inline] |
virtual void OIS::JoyStick::setEventCallback | ( | JoyStickListener * | joyListener | ) | [inline, virtual] |
joyListener | Send a pointer to a class derived from JoyStickListener or 0 to clear the callback |
JoyStickListener* OIS::JoyStick::getEventCallback | ( | ) | [inline] |
const JoyStickState& OIS::JoyStick::getJoyStickState | ( | ) | const [inline] |
const int OIS::JoyStick::MIN_AXIS = -32768 [static] |
The minimal axis value.
const int OIS::JoyStick::MAX_AXIS = 32767 [static] |
The maximum axis value.
short OIS::JoyStick::numButtons [protected] |
short OIS::JoyStick::numAxes [protected] |
short OIS::JoyStick::numHats [protected] |
JoyStickState OIS::JoyStick::mState [protected] |
JoyStickListener* OIS::JoyStick::listener [protected] |