Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

InputHandler_Xbox Class Reference

#include <InputHandler_Xbox.h>

Inheritance diagram for InputHandler_Xbox:

Inheritance graph
[legend]
Collaboration diagram for InputHandler_Xbox:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void Update (float fDeltaTime)
 InputHandler_Xbox ()
 ~InputHandler_Xbox ()
void GetDevicesAndDescriptions (vector< InputDevice > &vDevicesOut, vector< CString > &vDescriptionsOut)

Private Member Functions

void getHandles ()

Private Attributes

HANDLE joysticks [NUM_JOYSTICKS]
XINPUT_GAMEPAD lastState [NUM_JOYSTICKS]

Constructor & Destructor Documentation

InputHandler_Xbox::InputHandler_Xbox  ) 
 

XBOX controller maps to the following RageInputDevice constants: DPAD -> JOY_HAT_... START -> JOY_AUX_1 BACK -> JOY_AUX_2 Left thumb button -> JOY_AUX_3 Right thumb button -> JOY_AUX_4 Following buttons are JOY_(index): A, B, X, Y, BLACK, WHITE, Left trigger, right trigger

InputHandler_Xbox::~InputHandler_Xbox  ) 
 


Member Function Documentation

void InputHandler_Xbox::GetDevicesAndDescriptions vector< InputDevice > &  vDevicesOut,
vector< CString > &  vDescriptionsOut
[virtual]
 

Implements InputHandler.

void InputHandler_Xbox::getHandles  )  [private]
 

void InputHandler_Xbox::Update float  fDeltaTime  )  [virtual]
 

Reimplemented from InputHandler.


Member Data Documentation

HANDLE InputHandler_Xbox::joysticks[NUM_JOYSTICKS] [private]
 

XINPUT_GAMEPAD InputHandler_Xbox::lastState[NUM_JOYSTICKS] [private]
 


The documentation for this class was generated from the following files:
Generated on Thu Jan 27 20:59:34 2005 for StepMania by doxygen 1.3.7