Skip to content

Commit

Permalink
t-deck cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
richonguzman committed Apr 16, 2024
1 parent 5169c14 commit 3c2f964
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/keyboard_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -766,6 +766,7 @@ namespace KEYBOARD_Utils {
}

void mouseRead() {
#ifdef TTGO_T_DECK_GPS
int ballUp = digitalRead(TrackBallUp);
int ballDown = digitalRead(TrackBallDown);
int ballLeft = digitalRead(TrackBallLeft);
Expand Down Expand Up @@ -811,6 +812,7 @@ namespace KEYBOARD_Utils {
clearTrackballCounter();
rightArrow();
}
#endif
}

void read() {
Expand Down

0 comments on commit 3c2f964

Please sign in to comment.