diff options
| author | Drashna Jaelre | 2023-04-01 20:01:46 +0200 |
|---|---|---|
| committer | GitHub | 2023-04-01 20:01:46 +0200 |
| commit | bf986579dd6b0d503e8b7de18858e0713cd9c20b (patch) | |
| tree | 5c6c8a2bd0358e13f76ba490c527e0528d0cce96 /docs/feature_pointing_device.md | |
| parent | 9359504255236cce74c601554783ac5ce6f44fa9 (diff) | |
Fixup Pointing device functions (#20311)
Diffstat (limited to 'docs/feature_pointing_device.md')
| -rw-r--r-- | docs/feature_pointing_device.md | 4 |
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(); } ``` |