#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). | |
Definition at line 61 of file OISJoyStick.h.
| OIS::JoyStickState::JoyStickState | ( | ) | [inline] |
Definition at line 63 of file OISJoyStick.h.
| int OIS::JoyStickState::buttonDown | ( | int | button | ) | const [inline] |
| void OIS::JoyStickState::clear | ( | ) | [inline] |
internal method
Definition at line 84 of file OISJoyStick.h.
Referenced by OIS::Win32JoyStick::_initialize(), and OIS::LinuxJoyStick::_initialize().
| std::vector<Axis> OIS::JoyStickState::mAxes |
Represents all the single axes on the device.
Definition at line 66 of file OISJoyStick.h.
Referenced by OIS::LinuxJoyStick::_initialize(), EventHandler::axisMoved(), OIS::LinuxJoyStick::capture(), and handleNonBufferedJoy().
Represents the value of a POV. Maximum of 4.
Definition at line 69 of file OISJoyStick.h.
Referenced by OIS::Win32JoyStick::_changePOV(), OIS::LinuxJoyStick::capture(), and EventHandler::povMoved().
Represents All Buttons By Bit (max buttons = 32).
Definition at line 75 of file OISJoyStick.h.
Referenced by OIS::Win32JoyStick::_doButtonClick(), OIS::LinuxJoyStick::capture(), and handleNonBufferedJoy().
1.5.4