|
OIS
1.5
Object-oriented Input System
|
#include <OISJoyStick.h>
Public Member Functions | |
| JoyStickState () | |
| Constructor. More... | |
| void | clear () |
| internal method to reset all variables to initial values More... | |
Public Attributes | |
| std::vector< bool > | mButtons |
| Represents all the buttons (uses a bitset) More... | |
| std::vector< Axis > | mAxes |
| Represents all the single axes on the device. More... | |
| Pov | mPOV [4] |
| Represents the value of a POV. Maximum of 4. More... | |
| Slider | mSliders [4] |
| Represent the max sliders. More... | |
| std::vector< Vector3 > | mVectors |
| Represents all Vector type controls the device exports. More... | |
Represents the state of the joystick All members are valid for both buffered and non buffered mode Sticks with zero values are not present on the device
|
inline |
Constructor.
|
inline |
internal method to reset all variables to initial values
| std::vector<Axis> OIS::JoyStickState::mAxes |
Represents all the single axes on the device.
| std::vector<bool> OIS::JoyStickState::mButtons |
Represents all the buttons (uses a bitset)
| Pov OIS::JoyStickState::mPOV[4] |
Represents the value of a POV. Maximum of 4.
| Slider OIS::JoyStickState::mSliders[4] |
Represent the max sliders.
| std::vector<Vector3> OIS::JoyStickState::mVectors |
Represents all Vector type controls the device exports.
1.8.14