summaryrefslogtreecommitdiff
path: root/docs
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 /docs
parent9359504255236cce74c601554783ac5ce6f44fa9 (diff)
Fixup Pointing device functions (#20311)
Diffstat (limited to 'docs')
-rw-r--r--docs/feature_pointing_device.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/feature_pointing_device.md b/docs/feature_pointing_device.md
index 0089dc7024..ce716a8c8f 100644
--- a/docs/feature_pointing_device.md
+++ b/docs/feature_pointing_device.md
@@ -713,7 +713,7 @@ _Note: The Cirque pinnacle track pad already implements a custom activation func
When using a custom pointing device (overwriting `pointing_device_task`) the following code should be somewhere in the `pointing_device_task_*` stack:
```c
-void pointing_device_task(void) {
+bool pointing_device_task(void) {
//...Custom pointing device task code
// handle automatic mouse layer (needs report_mouse_t as input)
@@ -721,7 +721,7 @@ void pointing_device_task(void) {
//...More custom pointing device task code
- pointing_device_send();
+ return pointing_device_send();
}
```