diff options
author | Drashna Jaelre <[email protected]> | 2021-02-03 17:25:05 -0800 |
---|---|---|
committer | GitHub <[email protected]> | 2021-02-03 17:25:05 -0800 |
commit | 780ca5565d2bdb8e03aa2669a3203373a0a4d9dd (patch) | |
tree | a89235710614eb9d29f2c97b60ca3ee9714aae2c /quantum/pointing_device.h | |
parent | 420f6c4b2e1634e82e4bbdcc24691c169c72ac79 (diff) | |
download | qmk_firmware-780ca5565d2bdb8e03aa2669a3203373a0a4d9dd.tar.gz qmk_firmware-780ca5565d2bdb8e03aa2669a3203373a0a4d9dd.zip |
Improve Pointing Device report sending (#11064)0.11.59
* Improve Pointing Device report sending
* Hide old report behind preprocessors too
* put host_mouse_send() in curly brackets
* Remove POINTING_DEVICE_ALWAYS_SEND_REPORT functionality
* Fix typo
* fix function ref in docs
Co-authored-by: James Young <[email protected]>
Co-authored-by: James Young <[email protected]>
Diffstat (limited to 'quantum/pointing_device.h')
-rw-r--r-- | quantum/pointing_device.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/quantum/pointing_device.h b/quantum/pointing_device.h index aa074bb37d..56a542d545 100644 --- a/quantum/pointing_device.h +++ b/quantum/pointing_device.h @@ -26,3 +26,4 @@ void pointing_device_task(void); void pointing_device_send(void); report_mouse_t pointing_device_get_report(void); void pointing_device_set_report(report_mouse_t newMouseReport); +bool has_mouse_report_changed(report_mouse_t new, report_mouse_t old); |