Skip to content

Commit

Permalink
Fix pinchButton
Browse files Browse the repository at this point in the history
For some reason, the pinchButton bool was calling the grabGesture() function instead of the pinchGesture() function. Idk if this was intentional or not but I've set the pinchButton bool to use the pinchGesture() function.
  • Loading branch information
eah1759 authored Oct 26, 2021
1 parent a7eb5a6 commit 2509417
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion firmware/lucidgloves-firmware/_main.ino
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ void loop() {
#endif

#if PINCH_GESTURE
bool pinchButton = grabGesture(fingerPos);
bool pinchButton = pinchGesture(fingerPos);
#else
bool pinchButton = getButton(PIN_PNCH_BTN) != INVERT_PINCH;
#endif
Expand Down

0 comments on commit 2509417

Please sign in to comment.