@@ -132,6 +132,50 @@ build_src_filter = ${opengloves.build_src_filter}
132
132
+<mode_configs/opengloves/opengloves.cpp>
133
133
lib_deps = ${opengloves.lib_deps}
134
134
135
+ ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
136
+ ; LucidGloves Prototype 4 + Force Feedback
137
+ ; Wiring Diagram: https://github.com/LucidVR/lucidgloves/wiki/Prototype-4-Wiring-Diagram
138
+ ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
139
+ [env:lucidgloves-prototype4-ffb]
140
+ platform = ${opengloves.platform}
141
+ platform_packages = ${opengloves.platform_packages}
142
+ framework = ${opengloves.framework}
143
+ board = ${opengloves.board}
144
+ upload_speed = ${opengloves.upload_speed}
145
+ monitor_speed = ${opengloves.monitor_speed}
146
+
147
+ build_flags = ${opengloves.build_flags}
148
+ ; Pins configuration
149
+ ; Comment out to disable
150
+ -D PIN_FINGER_THUMB =32
151
+ -D PIN_FINGER_INDEX =35
152
+ -D PIN_FINGER_MIDDLE =34
153
+ -D PIN_FINGER_RING =39
154
+ -D PIN_FINGER_PINKY =36
155
+
156
+ -D PIN_JOYSTICK_X =33
157
+ -D PIN_JOYSTICK_Y =25
158
+ -D PIN_BUTTON_JOYSTICK =26
159
+
160
+ -D PIN_BUTTON_A =27
161
+ -D PIN_BUTTON_B =14
162
+ ; -D PIN_BUTTON_MENU=27
163
+ -D PIN_BUTTON_CALIBRATE =12
164
+ ; -D PIN_BUTTON_TRIGGER=12 ; unused if GESTURE_TRIGGER is true
165
+ ; -D PIN_BUTTON_GRAB=13 ; unused if GESTURE_GRAB is true
166
+ ; -D PIN_BUTTON_PINCH=23 ; unused if GESTURE_PINCH is true
167
+
168
+ -D PIN_FFB_THUMB =17
169
+ -D PIN_FFB_INDEX =21
170
+ -D PIN_FFB_MIDDLE =19
171
+ -D PIN_FFB_RING =18
172
+ -D PIN_FFB_PINKY =5
173
+
174
+ build_unflags = ${opengloves.build_unflags}
175
+ build_src_filter = ${opengloves.build_src_filter}
176
+ +<mode_configs/opengloves/opengloves.cpp>
177
+ lib_deps = ${opengloves.lib_deps}
178
+
135
179
; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
136
180
; Indexer C
137
181
; Wiring Diagram: https://github.com/Valsvirtuals/Indexer/wiki/wiring-and-pinout
@@ -170,6 +214,50 @@ build_src_filter = ${opengloves.build_src_filter}
170
214
+<mode_configs/opengloves/opengloves.cpp>
171
215
lib_deps = ${opengloves.lib_deps}
172
216
217
+ ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
218
+ ; Indexer CF
219
+ ; Wiring Diagram: https://github.com/Valsvirtuals/Indexer/wiki/wiring-and-pinout
220
+ ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
221
+ [env:indexer-cf]
222
+ platform = ${opengloves.platform}
223
+ platform_packages = ${opengloves.platform_packages}
224
+ framework = ${opengloves.framework}
225
+ board = wemos_d1_mini32
226
+ upload_speed = ${opengloves.upload_speed}
227
+ monitor_speed = ${opengloves.monitor_speed}
228
+
229
+ build_flags = ${opengloves.build_flags}
230
+ ; Pins configuration
231
+ ; Comment out to disable
232
+ -D PIN_FINGER_THUMB =25
233
+ -D PIN_FINGER_INDEX =14
234
+ -D PIN_FINGER_MIDDLE =33
235
+ -D PIN_FINGER_RING =39
236
+ -D PIN_FINGER_PINKY =36
237
+
238
+ -D PIN_JOYSTICK_X =12
239
+ -D PIN_JOYSTICK_Y =4
240
+ -D PIN_BUTTON_JOYSTICK =0
241
+
242
+ -D PIN_BUTTON_A =2
243
+ -D PIN_BUTTON_B =11
244
+ ; -D PIN_BUTTON_MENU=5
245
+ -D PIN_BUTTON_CALIBRATE =27
246
+ ; -D PIN_BUTTON_TRIGGER=19 ; unused if GESTURE_TRIGGER is true
247
+ ; -D PIN_BUTTON_GRAB=18 ; unused if GESTURE_GRAB is true
248
+ ; -D PIN_BUTTON_PINCH=23 ; unused if GESTURE_PINCH is true
249
+
250
+ -D PIN_FFB_THUMB =16
251
+ -D PIN_FFB_INDEX =17
252
+ -D PIN_FFB_MIDDLE =21
253
+ -D PIN_FFB_RING =22
254
+ -D PIN_FFB_PINKY =1
255
+
256
+ build_unflags = ${opengloves.build_unflags}
257
+ build_src_filter = ${opengloves.build_src_filter}
258
+ +<mode_configs/opengloves/opengloves.cpp>
259
+ lib_deps = ${opengloves.lib_deps}
260
+
173
261
; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
174
262
; Indexer CS
175
263
; Wiring Diagram: https://github.com/Valsvirtuals/Indexer/wiki/wiring-and-pinout
@@ -213,3 +301,53 @@ build_unflags = ${opengloves.build_unflags}
213
301
build_src_filter = ${opengloves.build_src_filter}
214
302
+<mode_configs/opengloves/opengloves.cpp>
215
303
lib_deps = ${opengloves.lib_deps}
304
+
305
+ ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
306
+ ; Indexer CSF
307
+ ; Wiring Diagram: https://github.com/Valsvirtuals/Indexer/wiki/wiring-and-pinout
308
+ ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
309
+ [env:indexer-csf]
310
+ platform = ${opengloves.platform}
311
+ platform_packages = ${opengloves.platform_packages}
312
+ framework = ${opengloves.framework}
313
+ board = wemos_d1_mini32
314
+ upload_speed = ${opengloves.upload_speed}
315
+ monitor_speed = ${opengloves.monitor_speed}
316
+
317
+ build_flags = ${opengloves.build_flags}
318
+ ; Pins configuration
319
+ ; Comment out to disable
320
+ -D PIN_FINGER_THUMB =25
321
+ -D PIN_FINGER_INDEX =14
322
+ -D PIN_FINGER_MIDDLE =33
323
+ -D PIN_FINGER_RING =39
324
+ -D PIN_FINGER_PINKY =36
325
+
326
+ -D PIN_FINGER_THUMB_SPLAY =32
327
+ -D PIN_FINGER_INDEX_SPLAY =13
328
+ -D PIN_FINGER_MIDDLE_SPLAY =34
329
+ -D PIN_FINGER_RING_SPLAY =35
330
+ -D PIN_FINGER_PINKY_SPLAY =26
331
+
332
+ -D PIN_JOYSTICK_X =12
333
+ -D PIN_JOYSTICK_Y =4
334
+ -D PIN_BUTTON_JOYSTICK =0
335
+
336
+ -D PIN_BUTTON_A =2
337
+ -D PIN_BUTTON_B =11
338
+ ; -D PIN_BUTTON_MENU=5
339
+ -D PIN_BUTTON_CALIBRATE =27
340
+ ; -D PIN_BUTTON_TRIGGER=19 ; unused if GESTURE_TRIGGER is true
341
+ ; -D PIN_BUTTON_GRAB=18 ; unused if GESTURE_GRAB is true
342
+ ; -D PIN_BUTTON_PINCH=23 ; unused if GESTURE_PINCH is true
343
+
344
+ -D PIN_FFB_THUMB =16
345
+ -D PIN_FFB_INDEX =17
346
+ -D PIN_FFB_MIDDLE =21
347
+ -D PIN_FFB_RING =22
348
+ -D PIN_FFB_PINKY =1
349
+
350
+ build_unflags = ${opengloves.build_unflags}
351
+ build_src_filter = ${opengloves.build_src_filter}
352
+ +<mode_configs/opengloves/opengloves.cpp>
353
+ lib_deps = ${opengloves.lib_deps}
0 commit comments