Cirque circular scroll: Support POINTING_DEVICE_COMBINED (#17654)
This commit is contained in:
parent
2456044d5f
commit
1de6811ebe
2 changed files with 18 additions and 13 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue