OIS  1.5
Object-oriented Input System
Public Member Functions | Public Attributes | List of all members
OIS::JoyStickState Class Reference

#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< AxismAxes
 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< Vector3mVectors
 Represents all Vector type controls the device exports. More...
 

Detailed Description

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

Constructor & Destructor Documentation

◆ JoyStickState()

OIS::JoyStickState::JoyStickState ( )
inline

Constructor.

Member Function Documentation

◆ clear()

void OIS::JoyStickState::clear ( )
inline

internal method to reset all variables to initial values

Member Data Documentation

◆ mAxes

std::vector<Axis> OIS::JoyStickState::mAxes

Represents all the single axes on the device.

◆ mButtons

std::vector<bool> OIS::JoyStickState::mButtons

Represents all the buttons (uses a bitset)

◆ mPOV

Pov OIS::JoyStickState::mPOV[4]

Represents the value of a POV. Maximum of 4.

◆ mSliders

Slider OIS::JoyStickState::mSliders[4]

Represent the max sliders.

◆ mVectors

std::vector<Vector3> OIS::JoyStickState::mVectors

Represents all Vector type controls the device exports.


The documentation for this class was generated from the following file: