summaryrefslogtreecommitdiffstats
path: root/keyboards/crkbd
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@drashna.net>2023-04-01 11:01:46 -0700
committerGitHub <noreply@github.com>2023-04-01 19:01:46 +0100
commitbf986579dd6b0d503e8b7de18858e0713cd9c20b (patch)
tree5c6c8a2bd0358e13f76ba490c527e0528d0cce96 /keyboards/crkbd
parent9359504255236cce74c601554783ac5ce6f44fa9 (diff)
Fixup Pointing device functions (#20311)
Diffstat (limited to 'keyboards/crkbd')
-rw-r--r--keyboards/crkbd/keymaps/vlukash_trackpad_right/trackpad.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/crkbd/keymaps/vlukash_trackpad_right/trackpad.c b/keyboards/crkbd/keymaps/vlukash_trackpad_right/trackpad.c
index afccb8c7ed..4dc336c420 100644
--- a/keyboards/crkbd/keymaps/vlukash_trackpad_right/trackpad.c
+++ b/keyboards/crkbd/keymaps/vlukash_trackpad_right/trackpad.c
@@ -43,7 +43,7 @@ uint8_t readRegister(uint8_t address) {
return data;
}
-void pointing_device_task(void){
+bool pointing_device_task(void){
uint8_t motion = readRegister(0x02);
// Motion has occurred on the trackpad
@@ -73,6 +73,6 @@ void pointing_device_task(void){
}
pointing_device_set_report(currentReport);
- pointing_device_send();
}
+ return pointing_device_send();
}