TORCS  1.3.10
The Open Racing Car Simulator
Loading...
Searching...
No Matches
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.
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)

Detailed Description

Joystick Information Structure.

Definition at line 485 of file tgfclient.h.

Member Data Documentation

◆ ax

float tCtrlJoyInfo::ax[_JS_MAX_AXES *NUM_JOY]

Axis values.

Definition at line 488 of file tgfclient.h.

◆ edgedn

int tCtrlJoyInfo::edgedn[GFCTRL_JOY_MAXBUTTON *NUM_JOY]

Button transition from up to down.

Definition at line 490 of file tgfclient.h.

◆ edgeup

int tCtrlJoyInfo::edgeup[GFCTRL_JOY_MAXBUTTON *NUM_JOY]

Button transition from down (pressed) to up.

Definition at line 489 of file tgfclient.h.

◆ levelup

int tCtrlJoyInfo::levelup[GFCTRL_JOY_MAXBUTTON *NUM_JOY]

Button state (1 = up)

Definition at line 491 of file tgfclient.h.

◆ oldb

int tCtrlJoyInfo::oldb[NUM_JOY]

Definition at line 487 of file tgfclient.h.


The documentation for this struct was generated from the following file:
  • C:/Users/berni/Development/torcs_git/torcs-code/torcs/torcs/src/libs/tgfclient/tgfclient.h