Gamepad Class Reference

#include <Gamepad.h>

Inheritance diagram for Gamepad:

Inheritance graph
[legend]
Collaboration diagram for Gamepad:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Gamepad ()
 ~Gamepad ()
bool Button (int btn)
void Update ()
float X_Axis ()
float X_Axis (int stick)
float Y_Axis ()
float Y_Axis (int stick)
float Left_Trigger ()
float Right_Trigger ()
void Vibrate (float leftMotor, float rightMotor)
void control (int controllerId, int motionId, float value)

Private Member Functions

float Axis (int axi, int which)
void Tune ()
void Set_Y_Axis_Inverted (int v)
int Y_Axis_Inverted ()

Private Attributes

bool bRightStickInverted
int rumbleLeft
int rumbleRight


Constructor & Destructor Documentation

Gamepad::Gamepad (  ) 

Gamepad::~Gamepad (  ) 

Here is the call graph for this function:


Member Function Documentation

bool Gamepad::Button ( int  btn  ) 

void Gamepad::Update (  ) 

Here is the call graph for this function:

float Gamepad::X_Axis (  ) 

Here is the call graph for this function:

float Gamepad::X_Axis ( int  stick  ) 

Here is the call graph for this function:

float Gamepad::Y_Axis (  ) 

Here is the call graph for this function:

float Gamepad::Y_Axis ( int  stick  ) 

Here is the call graph for this function:

float Gamepad::Left_Trigger (  ) 

float Gamepad::Right_Trigger (  ) 

void Gamepad::Vibrate ( float  leftMotor,
float  rightMotor 
)

void Gamepad::control ( int  controllerId,
int  motionId,
float  value 
) [virtual]

Implements Controllable.

Here is the call graph for this function:

float Gamepad::Axis ( int  axi,
int  which 
) [private]

Here is the call graph for this function:

void Gamepad::Tune (  )  [private]

void Gamepad::Set_Y_Axis_Inverted ( int  v  )  [private]

int Gamepad::Y_Axis_Inverted (  )  [private]


Member Data Documentation

int Gamepad::rumbleLeft [private]

int Gamepad::rumbleRight [private]


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

Generated on Thu Mar 19 19:35:19 2009 for CubicVR by  doxygen 1.5.6