summaryrefslogtreecommitdiff
path: root/quantum
diff options
context:
space:
mode:
authorDaniel Kao <daniel.m.kao@gmail.com>2022-07-25 23:19:33 -0700
committerGitHub <noreply@github.com>2022-07-25 23:19:33 -0700
commit1de6811ebebba77b4604fb01276d42a8d9003374 (patch)
treee21283661eaed20ee7ddf6749ca19db67ea7cd30 /quantum
parent2456044d5fdd0022cba139125fddb9d9e470f328 (diff)
Cirque circular scroll: Support POINTING_DEVICE_COMBINED (#17654)
Diffstat (limited to 'quantum')
-rw-r--r--quantum/pointing_device/pointing_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/pointing_device/pointing_device.c b/quantum/pointing_device/pointing_device.c
index 3aa4941687..09f9e5efb7 100644
--- a/quantum/pointing_device/pointing_device.c
+++ b/quantum/pointing_device/pointing_device.c
@@ -412,7 +412,7 @@ report_mouse_t pointing_device_combine_reports(report_mouse_t left_report, repor
*/
report_mouse_t pointing_device_adjust_by_defines_right(report_mouse_t mouse_report) {
// Support rotation of the sensor data
-# if defined(POINTING_DEVICE_ROTATION_90_RIGHT) || defined(POINTING_DEVICE_ROTATION_RIGHT) || defined(POINTING_DEVICE_ROTATION_RIGHT)
+# if defined(POINTING_DEVICE_ROTATION_90_RIGHT) || defined(POINTING_DEVICE_ROTATION_180_RIGHT) || defined(POINTING_DEVICE_ROTATION_270_RIGHT)
mouse_xy_report_t x = mouse_report.x;
mouse_xy_report_t y = mouse_report.y;
# if defined(POINTING_DEVICE_ROTATION_90_RIGHT)