diff options
author | Dasky <32983009+daskygit@users.noreply.github.com> | 2022-01-26 19:24:29 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-26 19:24:29 +0000 |
commit | 7b31fc54df6543e3426cce159a915fdaa947b57d (patch) | |
tree | 895d8f447395c6977b27e89e9974a29bc8678460 /quantum/pointing_device.h | |
parent | c99cbd915f18a13ce19b0f86721bef10e80bb558 (diff) |
Enable a default task throttle for split pointing. (#15925)
Diffstat (limited to 'quantum/pointing_device.h')
-rw-r--r-- | quantum/pointing_device.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/quantum/pointing_device.h b/quantum/pointing_device.h index 6ff267e491..8394c20952 100644 --- a/quantum/pointing_device.h +++ b/quantum/pointing_device.h @@ -94,6 +94,9 @@ report_mouse_t pointing_device_adjust_by_defines(report_mouse_t mouse_report); #if defined(SPLIT_POINTING_ENABLE) void pointing_device_set_shared_report(report_mouse_t report); uint16_t pointing_device_get_shared_cpi(void); +# if !defined(POINTING_DEVICE_TASK_THROTTLE_MS) +# define POINTING_DEVICE_TASK_THROTTLE_MS 1 +# endif # if defined(POINTING_DEVICE_COMBINED) void pointing_device_set_cpi_on_side(bool left, uint16_t cpi); report_mouse_t pointing_device_combine_reports(report_mouse_t left_report, report_mouse_t right_report); |