torcs - 1.2.2

tCtrlJoyInfo Struct Reference

#include <tgfclient.h>

List of all members.


Detailed Description

Joystick Information Structure.


Public Attributes

int oldb [NUM_JOY]
float ax [MAX_AXES *NUM_JOY]
 Axis values.

int edgeup [GFCTRL_JOY_MAXBUTTON *NUM_JOY]
 Button transition from down (pressed) to up.

int edgedn [GFCTRL_JOY_MAXBUTTON *NUM_JOY]
 Button transition from up to down.

int levelup [GFCTRL_JOY_MAXBUTTON *NUM_JOY]
 Button state (1 = up).


Member Data Documentation

float tCtrlJoyInfo::ax[MAX_AXES * NUM_JOY]
 

Axis values.

int tCtrlJoyInfo::edgedn[GFCTRL_JOY_MAXBUTTON * NUM_JOY]
 

Button transition from up to down.

int tCtrlJoyInfo::edgeup[GFCTRL_JOY_MAXBUTTON * NUM_JOY]
 

Button transition from down (pressed) to up.

int tCtrlJoyInfo::levelup[GFCTRL_JOY_MAXBUTTON * NUM_JOY]
 

Button state (1 = up).

int tCtrlJoyInfo::oldb[NUM_JOY]
 


The documentation for this struct was generated from the following file:
Generated at Thu Feb 26 21:54:14 2004 for torcs by doxygen 1.3.3 written by Dimitri van Heesch, © 1997-1999
TORCS © Eric Espié 1999, 2002.