TORCS  1.3.9
The Open Racing Car Simulator
tCtrlJoyInfo Struct Reference

Joystick Information Structure. More...

#include <tgfclient.h>

Public Attributes

int oldb [NUM_JOY]
 
float ax [_JS_MAX_AXES *NUM_JOY]
 Axis values. More...
 
int edgeup [GFCTRL_JOY_MAXBUTTON *NUM_JOY]
 Button transition from down (pressed) to up. More...
 
int edgedn [GFCTRL_JOY_MAXBUTTON *NUM_JOY]
 Button transition from up to down. More...
 
int levelup [GFCTRL_JOY_MAXBUTTON *NUM_JOY]
 Button state (1 = up) More...
 

Detailed Description

Joystick Information Structure.

Definition at line 278 of file tgfclient.h.

Member Data Documentation

◆ ax

float tCtrlJoyInfo::ax[_JS_MAX_AXES *NUM_JOY]

Axis values.

Definition at line 281 of file tgfclient.h.

◆ edgedn

int tCtrlJoyInfo::edgedn[GFCTRL_JOY_MAXBUTTON *NUM_JOY]

Button transition from up to down.

Definition at line 283 of file tgfclient.h.

◆ edgeup

int tCtrlJoyInfo::edgeup[GFCTRL_JOY_MAXBUTTON *NUM_JOY]

Button transition from down (pressed) to up.

Definition at line 282 of file tgfclient.h.

◆ levelup

int tCtrlJoyInfo::levelup[GFCTRL_JOY_MAXBUTTON *NUM_JOY]

Button state (1 = up)

Definition at line 284 of file tgfclient.h.

◆ oldb

int tCtrlJoyInfo::oldb[NUM_JOY]

Definition at line 280 of file tgfclient.h.


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