#include <src/ois/OISJoyStick.h>
Public Member Functions | |
void | clear () |
internal method to reset all variables to initial values | |
JoyStickState () | |
Constructor. | |
Public Attributes | |
std::vector< Axis > | mAxes |
Represents all the single axes on the device. | |
std::vector< bool > | mButtons |
Represents all the buttons (uses a bitset). | |
Pov | mPOV [4] |
Represents the value of a POV. Maximum of 4. | |
Slider | mSliders [4] |
Represent the max sliders. | |
std::vector< Vector3 > | mVectors |
Represents all Vector type controls the device exports. |
OIS::JoyStickState::JoyStickState | ( | ) | [inline] |
Constructor.
void OIS::JoyStickState::clear | ( | ) | [inline] |
internal method to reset all variables to initial values
References OIS::Pov::Centered.
Referenced by OIS::Win32JoyStick::_initialize(), and OIS::LinuxJoyStick::_initialize().
std::vector<Axis> OIS::JoyStickState::mAxes |
Represents all the single axes on the device.
Referenced by OIS::Win32JoyStick::_enumerate(), OIS::LinuxJoyStick::_getJoyInfo(), OIS::Win32JoyStick::_initialize(), OIS::LinuxJoyStick::_initialize(), OIS::Win32JoyStick::capture(), OIS::LinuxJoyStick::capture(), OIS::Win32JoyStick::DIEnumDeviceObjectsCallback(), OIS::JoyStick::getNumberOfComponents(), and OIS::LinuxJoyStick::LinuxJoyStick().
std::vector<bool> OIS::JoyStickState::mButtons |
Represents all the buttons (uses a bitset).
Referenced by OIS::Win32JoyStick::_doButtonClick(), OIS::Win32JoyStick::_enumerate(), OIS::LinuxJoyStick::_getJoyInfo(), OIS::LinuxJoyStick::capture(), OIS::JoyStick::getNumberOfComponents(), and OIS::LinuxJoyStick::LinuxJoyStick().
Represents the value of a POV. Maximum of 4.
Referenced by OIS::Win32JoyStick::_changePOV(), and OIS::LinuxJoyStick::capture().
std::vector<Vector3> OIS::JoyStickState::mVectors |
Represents all Vector type controls the device exports.
Referenced by OIS::JoyStick::getNumberOfComponents().