diff options
author | Drashna Jaelre <drashna@drashna.net> | 2023-04-01 11:01:46 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-01 19:01:46 +0100 |
commit | bf986579dd6b0d503e8b7de18858e0713cd9c20b (patch) | |
tree | 5c6c8a2bd0358e13f76ba490c527e0528d0cce96 /keyboards/3w6 | |
parent | 9359504255236cce74c601554783ac5ce6f44fa9 (diff) |
Fixup Pointing device functions (#20311)
Diffstat (limited to 'keyboards/3w6')
-rw-r--r-- | keyboards/3w6/rev2/keymaps/default_pimoroni/pimoroni_trackball.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/3w6/rev2/keymaps/default_pimoroni/pimoroni_trackball.c b/keyboards/3w6/rev2/keymaps/default_pimoroni/pimoroni_trackball.c index c4f4a0441a..a6661cdc07 100644 --- a/keyboards/3w6/rev2/keymaps/default_pimoroni/pimoroni_trackball.c +++ b/keyboards/3w6/rev2/keymaps/default_pimoroni/pimoroni_trackball.c @@ -115,7 +115,7 @@ void trackball_set_scrolling(bool scroll) { scrolling = scroll; } __attribute__((weak)) void pointing_device_init(void) { trackball_set_rgbw(0x80, 0x00, 0x00, 0x00); } -void pointing_device_task(void) { +bool pointing_device_task(void) { static bool debounce; static uint16_t debounce_timer; uint8_t state[5] = {}; @@ -173,5 +173,5 @@ void pointing_device_task(void) { update_member(&mouse.v, &h_offset); #endif pointing_device_set_report(mouse); - pointing_device_send(); + return pointing_device_send(); } |