mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-28 03:59:33 +06:00
Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
commit
ce29cb0f10
@ -119,7 +119,12 @@ report_mouse_t pointing_device_task_kb(report_mouse_t mouse_report) {
|
|||||||
process_wheel();
|
process_wheel();
|
||||||
|
|
||||||
if (is_drag_scroll) {
|
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;
|
mouse_report.h = mouse_report.x;
|
||||||
|
#endif
|
||||||
#ifdef PLOOPY_DRAGSCROLL_INVERT
|
#ifdef PLOOPY_DRAGSCROLL_INVERT
|
||||||
// Invert vertical scroll direction
|
// Invert vertical scroll direction
|
||||||
mouse_report.v = -mouse_report.y;
|
mouse_report.v = -mouse_report.y;
|
||||||
|
Loading…
Reference in New Issue
Block a user