summaryrefslogtreecommitdiff
path: root/keyboards/ploopyco/trackball
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2022-08-13 18:02:19 +0000
committerQMK Bot <hello@qmk.fm>2022-08-13 18:02:19 +0000
commit826ab5412f7ba103f3e3c2416750a55bbac3fe80 (patch)
treea5ccc38153d9ddae04a5dfcb25d2f93d805160d5 /keyboards/ploopyco/trackball
parent96731ba88e84e0cdd8144e6009fb086a9ccce743 (diff)
parentb1fe7621ebb086a519778030381eb5729e949523 (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/ploopyco/trackball')
-rw-r--r--keyboards/ploopyco/trackball/trackball.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/ploopyco/trackball/trackball.c b/keyboards/ploopyco/trackball/trackball.c
index 7a576a586d..786b40f9e8 100644
--- a/keyboards/ploopyco/trackball/trackball.c
+++ b/keyboards/ploopyco/trackball/trackball.c
@@ -112,7 +112,7 @@ void process_wheel(void) {
int dir = opt_encoder_handler(p1, p2);
if (dir == 0) return;
- encoder_update_kb(0, dir == 1);
+ encoder_update_kb(0, dir > 0);
}
report_mouse_t pointing_device_task_kb(report_mouse_t mouse_report) {