OIS::JoyStickState Struct Reference

#include <OISJoyStick.h>

List of all members.

Public Member Functions

 JoyStickState ()
int buttonDown (int button) const
 Button Bit Test - returns true if down.
void clear ()
 internal method

Public Attributes

std::vector< AxismAxes
 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).


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

OIS::JoyStickState::JoyStickState (  )  [inline]


Member Function Documentation

int OIS::JoyStickState::buttonDown ( int  button  )  const [inline]

Button Bit Test - returns true if down.

void OIS::JoyStickState::clear (  )  [inline]

internal method


Member Data Documentation

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

Represents all the single axes on the device.

Pov OIS::JoyStickState::mPOV[4]

Represents the value of a POV. Maximum of 4.

Slider OIS::JoyStickState::mSliders[4]

Represent the max sliders.

int OIS::JoyStickState::buttons

Represents All Buttons By Bit (max buttons = 32).


The documentation for this struct was generated from the following file:
Generated on Fri Jul 13 21:21:05 2007 for OIS by  doxygen 1.5.2