forked from lemmingDev/ESP32-BLE-Gamepad
-
Notifications
You must be signed in to change notification settings - Fork 0
/
keywords.txt
312 lines (303 loc) · 6.57 KB
/
keywords.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
#######################################
# Syntax Coloring Map For ESP32 BLE Gamepad
#######################################
# Class
#######################################
BleGamepad KEYWORD1
BleGamepadConfiguration KEYWORD1
#######################################
# Methods and Functions
#######################################
begin KEYWORD2
end KEYWORD2
setAxes KEYWORD2
press KEYWORD2
release KEYWORD2
isPressed KEYWORD2
isConnected KEYWORD2
setLeftThumb KEYWORD2
setRightThumb KEYWORD2
setLeftTrigger KEYWORD2
setRightTrigger KEYWORD2
setHat KEYWORD2
setHat1 KEYWORD2
setHat2 KEYWORD2
setHat3 KEYWORD2
setHat4 KEYWORD2
setHats KEYWORD2
setX KEYWORD2
setY KEYWORD2
setZ KEYWORD2
setRZ KEYWORD2
setRX KEYWORD2
setRY KEYWORD2
setSlider1 KEYWORD2
setSlider2 KEYWORD2
setSlider KEYWORD2
setSliders KEYWORD2
setRudder KEYWORD2
setThrottle KEYWORD2
setAccelerator KEYWORD2
setBrake KEYWORD2
setSteering KEYWORD2
setSimulationControls KEYWORD2
setControllerType KEYWORD2
setAutoReport KEYWORD2
setHidReportId KEYWORD2
sendReport KEYWORD2
setButtonCount KEYWORD2
setHatSwitchCount KEYWORD2
setIncludeStart KEYWORD2
setIncludeSelect KEYWORD2
setIncludeMenu KEYWORD2
setIncludeHome KEYWORD2
setIncludeBack KEYWORD2
setIncludeVolumeInc KEYWORD2
setIncludeVolumeDec KEYWORD2
setIncludeVolumeMute KEYWORD2
setWhichSpecialButtons KEYWORD2
setIncludeXAxis KEYWORD2
setIncludeYAxis KEYWORD2
setIncludeZAxis KEYWORD2
setIncludeRxAxis KEYWORD2
setIncludeRyAxis KEYWORD2
setIncludeRzAxis KEYWORD2
setIncludeSlider1 KEYWORD2
setIncludeSlider2 KEYWORD2
setWhichAxes KEYWORD2
setIncludeRudder KEYWORD2
setIncludeThrottle KEYWORD2
setIncludeAccelerator KEYWORD2
setIncludeBrake KEYWORD2
setIncludeSteering KEYWORD2
setWhichSimulationControls KEYWORD2
resetButtons KEYWORD2
setBatteryLevel KEYWORD2
pressSpecialButton KEYWORD2
releaseSpecialButton KEYWORD2
pressStart KEYWORD2
releaseStart KEYWORD2
pressSelect KEYWORD2
releaseSelect KEYWORD2
pressMenu KEYWORD2
releaseMenu KEYWORD2
pressHome KEYWORD2
releaseHome KEYWORD2
pressBack KEYWORD2
releaseBack KEYWORD2
pressVolumeInc KEYWORD2
releaseVolumeInc KEYWORD2
pressVolumeDec KEYWORD2
releaseVolumeDec KEYWORD2
pressVolumeMute KEYWORD2
releaseVolumeMute KEYWORD2
getControllerType KEYWORD2
getHidReportId KEYWORD2
getButtonCount KEYWORD2
getTotalSpecialButtonCount KEYWORD2
getDesktopSpecialButtonCount KEYWORD2
getConsumerSpecialButtonCount KEYWORD2
getHatSwitchCount KEYWORD2
getAxisCount KEYWORD2
getSimulationCount KEYWORD2
getAutoReport KEYWORD2
getIncludeStart KEYWORD2
getIncludeSelect KEYWORD2
getIncludeMenu KEYWORD2
getIncludeHome KEYWORD2
getIncludeBack KEYWORD2
getIncludeVolumeInc KEYWORD2
getIncludeVolumeDec KEYWORD2
getIncludeVolumeMute KEYWORD2
getWhichSpecialButtons KEYWORD2
getIncludeXAxis KEYWORD2
getIncludeYAxis KEYWORD2
getIncludeZAxis KEYWORD2
getIncludeRxAxis KEYWORD2
getIncludeRyAxis KEYWORD2
getIncludeRzAxis KEYWORD2
getIncludeSlider1 KEYWORD2
getIncludeSlider2 KEYWORD2
getWhichAxes KEYWORD2
getIncludeRudder KEYWORD2
getIncludeThrottle KEYWORD2
getIncludeAccelerator KEYWORD2
getIncludeBrake KEYWORD2
getIncludeSteering KEYWORD2
getWhichSimulationControls KEYWORD2
getVid KEYWORD2
getPid KEYWORD2
getGuidVersion KEYWORD2
getAxesMin KEYWORD2
getAxesMax KEYWORD2
getSimulationMin KEYWORD2
getSimulationMax KEYWORD2
getModelNumber KEYWORD2
getSoftwareRevision KEYWORD2
getSerialNumber KEYWORD2
getFirmwareRevision KEYWORD2
getHardwareRevision KEYWORD2
setVid KEYWORD2
setPid KEYWORD2
setGuidVersion KEYWORD2
setAxesMin KEYWORD2
setAxesMax KEYWORD2
setSimulationMin KEYWORD2
setSimulationMax KEYWORD2
setModelNumber KEYWORD2
setSoftwareRevision KEYWORD2
setSerialNumber KEYWORD2
setFirmwareRevision KEYWORD2
setHardwareRevision KEYWORD2
#######################################
# Constants
#######################################
CONTROLLER_TYPE_JOYSTICK LITERAL1
CONTROLLER_TYPE_GAMEPAD LITERAL1
CONTROLLER_TYPE_MULTI_AXIS LITERAL1
BUTTON_1 LITERAL1
BUTTON_2 LITERAL1
BUTTON_3 LITERAL1
BUTTON_4 LITERAL1
BUTTON_5 LITERAL1
BUTTON_6 LITERAL1
BUTTON_7 LITERAL1
BUTTON_8 LITERAL1
BUTTON_9 LITERAL1
BUTTON_10 LITERAL1
BUTTON_11 LITERAL1
BUTTON_12 LITERAL1
BUTTON_13 LITERAL1
BUTTON_14 LITERAL1
BUTTON_15 LITERAL1
BUTTON_16 LITERAL1
BUTTON_17 LITERAL1
BUTTON_18 LITERAL1
BUTTON_19 LITERAL1
BUTTON_20 LITERAL1
BUTTON_21 LITERAL1
BUTTON_22 LITERAL1
BUTTON_23 LITERAL1
BUTTON_24 LITERAL1
BUTTON_25 LITERAL1
BUTTON_26 LITERAL1
BUTTON_27 LITERAL1
BUTTON_28 LITERAL1
BUTTON_29 LITERAL1
BUTTON_30 LITERAL1
BUTTON_31 LITERAL1
BUTTON_32 LITERAL1
BUTTON_33 LITERAL1
BUTTON_34 LITERAL1
BUTTON_35 LITERAL1
BUTTON_36 LITERAL1
BUTTON_37 LITERAL1
BUTTON_38 LITERAL1
BUTTON_39 LITERAL1
BUTTON_40 LITERAL1
BUTTON_41 LITERAL1
BUTTON_42 LITERAL1
BUTTON_43 LITERAL1
BUTTON_44 LITERAL1
BUTTON_45 LITERAL1
BUTTON_46 LITERAL1
BUTTON_47 LITERAL1
BUTTON_48 LITERAL1
BUTTON_49 LITERAL1
BUTTON_50 LITERAL1
BUTTON_51 LITERAL1
BUTTON_52 LITERAL1
BUTTON_53 LITERAL1
BUTTON_54 LITERAL1
BUTTON_55 LITERAL1
BUTTON_56 LITERAL1
BUTTON_57 LITERAL1
BUTTON_58 LITERAL1
BUTTON_59 LITERAL1
BUTTON_60 LITERAL1
BUTTON_61 LITERAL1
BUTTON_62 LITERAL1
BUTTON_63 LITERAL1
BUTTON_64 LITERAL1
BUTTON_65 LITERAL1
BUTTON_66 LITERAL1
BUTTON_67 LITERAL1
BUTTON_68 LITERAL1
BUTTON_69 LITERAL1
BUTTON_70 LITERAL1
BUTTON_71 LITERAL1
BUTTON_72 LITERAL1
BUTTON_73 LITERAL1
BUTTON_74 LITERAL1
BUTTON_75 LITERAL1
BUTTON_76 LITERAL1
BUTTON_77 LITERAL1
BUTTON_78 LITERAL1
BUTTON_79 LITERAL1
BUTTON_80 LITERAL1
BUTTON_81 LITERAL1
BUTTON_82 LITERAL1
BUTTON_83 LITERAL1
BUTTON_84 LITERAL1
BUTTON_85 LITERAL1
BUTTON_86 LITERAL1
BUTTON_87 LITERAL1
BUTTON_88 LITERAL1
BUTTON_89 LITERAL1
BUTTON_90 LITERAL1
BUTTON_91 LITERAL1
BUTTON_92 LITERAL1
BUTTON_93 LITERAL1
BUTTON_94 LITERAL1
BUTTON_95 LITERAL1
BUTTON_96 LITERAL1
BUTTON_97 LITERAL1
BUTTON_98 LITERAL1
BUTTON_99 LITERAL1
BUTTON_100 LITERAL1
BUTTON_101 LITERAL1
BUTTON_102 LITERAL1
BUTTON_103 LITERAL1
BUTTON_104 LITERAL1
BUTTON_105 LITERAL1
BUTTON_106 LITERAL1
BUTTON_107 LITERAL1
BUTTON_108 LITERAL1
BUTTON_109 LITERAL1
BUTTON_110 LITERAL1
BUTTON_111 LITERAL1
BUTTON_112 LITERAL1
BUTTON_113 LITERAL1
BUTTON_114 LITERAL1
BUTTON_115 LITERAL1
BUTTON_116 LITERAL1
BUTTON_117 LITERAL1
BUTTON_118 LITERAL1
BUTTON_119 LITERAL1
BUTTON_120 LITERAL1
BUTTON_121 LITERAL1
BUTTON_122 LITERAL1
BUTTON_123 LITERAL1
BUTTON_124 LITERAL1
BUTTON_125 LITERAL1
BUTTON_126 LITERAL1
BUTTON_127 LITERAL1
BUTTON_128 LITERAL1
DPAD_CENTERED LITERAL1
DPAD_UP LITERAL1
DPAD_UP_RIGHT LITERAL1
DPAD_RIGHT LITERAL1
DPAD_DOWN_RIGHT LITERAL1
DPAD_DOWN LITERAL1
DPAD_DOWN_LEFT LITERAL1
DPAD_LEFT LITERAL1
DPAD_UP_LEFT LITERAL1
HAT_CENTERED LITERAL1
HAT_UP LITERAL1
HAT_UP_RIGHT LITERAL1
HAT_RIGHT LITERAL1
HAT_DOWN_RIGHT LITERAL1
HAT_DOWN LITERAL1
HAT_DOWN_LEFT LITERAL1
HAT_LEFT LITERAL1
HAT_UP_LEFT LITERAL1