aboutsummaryrefslogtreecommitdiff
path: root/keyboards
diff options
context:
space:
mode:
authorobosob <[email protected]>2025-07-11 23:55:21 +0100
committerGitHub <[email protected]>2025-07-11 15:55:21 -0700
commit5ef791902201111feb3f976cfbce8755b0be66b0 (patch)
tree0d9ed87d11638eb881cfb4c048f26d8e980e87c4 /keyboards
parent6b38dc17cd12b740b45b56c67ad04bb428f3bddb (diff)
downloadqmk_firmware-5ef791902201111feb3f976cfbce8755b0be66b0.tar.gz
qmk_firmware-5ef791902201111feb3f976cfbce8755b0be66b0.zip
Give mouse report to pointing_device_task_user first in ploopyco devices (#25475)
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/ploopyco/ploopyco.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/ploopyco/ploopyco.c b/keyboards/ploopyco/ploopyco.c
index f094f784cb..642696be0f 100644
--- a/keyboards/ploopyco/ploopyco.c
+++ b/keyboards/ploopyco/ploopyco.c
@@ -139,6 +139,7 @@ void cycle_dpi(void) {
}
report_mouse_t pointing_device_task_kb(report_mouse_t mouse_report) {
+ mouse_report = pointing_device_task_user(mouse_report);
if (is_drag_scroll) {
scroll_accumulated_h += (float)mouse_report.x / PLOOPY_DRAGSCROLL_DIVISOR_H;
scroll_accumulated_v += (float)mouse_report.y / PLOOPY_DRAGSCROLL_DIVISOR_V;
@@ -163,7 +164,7 @@ report_mouse_t pointing_device_task_kb(report_mouse_t mouse_report) {
mouse_report.y = 0;
}
- return pointing_device_task_user(mouse_report);
+ return mouse_report;
}
bool process_record_kb(uint16_t keycode, keyrecord_t* record) {