#include <OISJoyStick.h>
Public Member Functions | |
JoyStickState () | |
int | buttonDown (int button) const |
Button Bit Test - returns true if down. | |
void | clear () |
internal method | |
Public Attributes | |
std::vector< Axis > | mAxes |
Represents all the single axes on the device. | |
Pov | mPOV [4] |
Represents the value of a POV. Maximum of 4. | |
Slider | mSliders [4] |
Represent the max sliders. | |
int | buttons |
Represents All Buttons By Bit (max buttons = 32). |
OIS::JoyStickState::JoyStickState | ( | ) | [inline] |
int OIS::JoyStickState::buttonDown | ( | int | button | ) | const [inline] |
Button Bit Test - returns true if down.
void OIS::JoyStickState::clear | ( | ) | [inline] |
internal method
std::vector<Axis> OIS::JoyStickState::mAxes |
Represents all the single axes on the device.
Represents the value of a POV. Maximum of 4.
Represent the max sliders.
Represents All Buttons By Bit (max buttons = 32).