forked from lemmingDev/ESP32-BLE-Gamepad
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkeywords.txt
207 lines (199 loc) · 4.02 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
#######################################
# Syntax Coloring Map For ESP32 BLE Gamepad
#######################################
# Class
#######################################
BleGamepad KEYWORD1
#######################################
# Methods and Functions
#######################################
begin KEYWORD2
end KEYWORD2
setControllerType 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
setAutoReport KEYWORD2
sendReport KEYWORD2
resetButtons KEYWORD2
setBatteryLevel 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