mirror of
https://github.com/openstenoproject/qmk
synced 2024-11-21 16:04:38 +00:00
Added PLOOPY_DRAGSCROLL_H_INVERT (#17453)
This commit is contained in:
parent
71f9a07b0f
commit
fbf3cbcd5c
1 changed files with 5 additions and 0 deletions
|
@ -119,7 +119,12 @@ report_mouse_t pointing_device_task_kb(report_mouse_t mouse_report) {
|
|||
process_wheel();
|
||||
|
||||
if (is_drag_scroll) {
|
||||
#ifdef PLOOPY_DRAGSCROLL_H_INVERT
|
||||
// Invert horizontal scroll direction
|
||||
mouse_report.h = -mouse_report.x;
|
||||
#else
|
||||
mouse_report.h = mouse_report.x;
|
||||
#endif
|
||||
#ifdef PLOOPY_DRAGSCROLL_INVERT
|
||||
// Invert vertical scroll direction
|
||||
mouse_report.v = -mouse_report.y;
|
||||
|
|
Loading…
Reference in a new issue