TORCS  1.3.9
The Open Racing Car Simulator
playerpref.h
Go to the documentation of this file.
1 /***************************************************************************
2 
3  file : playerpref.h
4  created : Wed Mar 21 21:50:23 CET 2001
5  copyright : (C) 2001-2024 by Eric Espie, Bernhard Wymann
6  email : berniw@bluewin.ch
7 
8  ***************************************************************************/
9 
10 /***************************************************************************
11  * *
12  * This program is free software; you can redistribute it and/or modify *
13  * it under the terms of the GNU General Public License as published by *
14  * the Free Software Foundation; either version 2 of the License, or *
15  * (at your option) any later version. *
16  * *
17  ***************************************************************************/
18 
24 #ifndef _PLAYERPREF_H_
25 #define _PLAYERPREF_H_
26 
27 #define HM_DRV_FILE "drivers/human/human.xml"
28 #define HM_PREF_FILE "drivers/human/preferences.xml"
29 
30 #define HM_SECT_JSPREF "joystick"
31 #define HM_SECT_MOUSEPREF "mouse"
32 #define HM_SECT_KEYBPREF "keyboard"
33 
34 #define HM_SECT_DRVPREF "Preferences/Drivers"
35 
36 #define HM_ATT_UP_SHFT "up shift"
37 #define HM_ATT_DN_SHFT "down shift"
38 #define HM_ATT_ASR_CMD "ASR cmd"
39 #define HM_ATT_ABS_CMD "ABS cmd"
40 
41 #define HM_ATT_BRAKE_TOFRONT "brake bias +"
42 #define HM_ATT_BRAKE_TOREAR "brake bias -"
43 
44 #define HM_ATT_LIGHT1_CMD "Light1 cmd"
45 #define HM_ATT_SPDLIM_CMD "Speed Limiter"
46 
47 #define HM_ATT_AUTOREVERSE "auto reverse"
48 
49 #define HM_ATT_GEAR_R "reverse gear"
50 #define HM_ATT_GEAR_N "neutral gear"
51 #define HM_ATT_GEAR_1 "1st gear"
52 #define HM_ATT_GEAR_2 "2nd gear"
53 #define HM_ATT_GEAR_3 "3rd gear"
54 #define HM_ATT_GEAR_4 "4th gear"
55 #define HM_ATT_GEAR_5 "5th gear"
56 #define HM_ATT_GEAR_6 "6th gear"
57 
58 /* used for RS Shifter controller */
59 #define HM_ATT_REL_BUT_NEUTRAL "release gear button goes neutral"
60 
61 /* Tell if the sequential shifter can go to neutral */
62 #define HM_ATT_SEQSHFT_ALLOW_NEUTRAL "sequential shifter allow neutral"
63 
64 #define HM_ATT_STEER_SENS "steer sensitivity"
65 #define HM_ATT_STEER_POW "steer power"
66 #define HM_ATT_STEER_SPD "steer speed sensitivity"
67 #define HM_ATT_STEER_DEAD "steer dead zone"
68 
69 #define HM_ATT_LEFTSTEER "left steer"
70 #define HM_ATT_LEFTSTEER_MIN "left steer min"
71 #define HM_ATT_LEFTSTEER_MAX "left steer max"
72 #define HM_ATT_LEFTSTEER_POW "left steer power"
73 #define HM_ATT_LEFTSTEER_DEAD "left steer dead zone"
74 
75 #define HM_ATT_RIGHTSTEER "right steer"
76 #define HM_ATT_RIGHTSTEER_MIN "right steer min"
77 #define HM_ATT_RIGHTSTEER_MAX "right steer max"
78 #define HM_ATT_RIGHTSTEER_POW "right steer power"
79 #define HM_ATT_RIGHTSTEER_DEAD "right steer dead zone"
80 
81 #define HM_ATT_THROTTLE "throttle"
82 #define HM_ATT_THROTTLE_MIN "throttle min"
83 #define HM_ATT_THROTTLE_MAX "throttle max"
84 #define HM_ATT_THROTTLE_SENS "throttle sensitivity"
85 #define HM_ATT_THROTTLE_POW "throttle power"
86 #define HM_ATT_THROTTLE_DEAD "throttle dead zone"
87 
88 #define HM_ATT_BRAKE "brake"
89 #define HM_ATT_BRAKE_MIN "brake min"
90 #define HM_ATT_BRAKE_MAX "brake max"
91 #define HM_ATT_BRAKE_SENS "brake sensitivity"
92 #define HM_ATT_BRAKE_POW "brake power"
93 #define HM_ATT_BRAKE_DEAD "brake dead zone"
94 
95 #define HM_ATT_CLUTCH "clutch"
96 #define HM_ATT_CLUTCH_MIN "clutch min"
97 #define HM_ATT_CLUTCH_MAX "clutch max"
98 #define HM_ATT_CLUTCH_SENS "clutch sensitivity"
99 #define HM_ATT_CLUTCH_POW "clutch power"
100 #define HM_ATT_CLUTCH_DEAD "clutch dead zone"
101 
102 #define HM_SECT_PREF "Preferences"
103 
104 #define HM_LIST_DRV "Drivers"
105 
106 #define HM_ATT_TRANS "transmission"
107 #define HM_ATT_ABS "ABS on"
108 #define HM_ATT_ASR "ASR on"
109 #define HM_ATT_NBPITS "programmed pit stops"
110 
111 #define HM_ATT_EVENTBLACKLIST "blacklisted events"
112 
113 #define HM_VAL_AUTO "auto"
114 #define HM_VAL_MANUAL "manual"
115 
116 #define HM_VAL_YES "yes"
117 #define HM_VAL_NO "no"
118 
119 #define HM_VAL_JOYSTICK "joystick"
120 #define HM_VAL_MOUSE "mouse"
121 #define HM_VAL_KEYBOARD "keyboard"
122 
123 #endif /* _PLAYERPREF_H_ */
124 
125 
126