Skip to content

Commit 22647d3

Browse files
committed
Apply rate limit before sending to central
1 parent 2ba695d commit 22647d3

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

boards/shields/roBa/roBa_R.overlay

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,13 @@
5858
};
5959
};
6060

61+
#include <input/processors/report_rate_limit.dtsi>
62+
6163
&trackball_split {
6264
device = <&trackball>;
6365
status = "okay";
66+
67+
input-processors = <&zip_report_rate_limit 15>;
6468
};
6569

6670
&trackball_listener {

config/roBa.keymap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@
161161
input-processors = <
162162
&zip_xy_transform (INPUT_TRANSFORM_XY_SWAP | INPUT_TRANSFORM_X_INVERT)
163163
&zip_mouse_gesture
164-
&zip_report_rate_limit 15
164+
// &zip_report_rate_limit 15
165165
// &zip_cursor_snap
166166
>;
167167

@@ -178,7 +178,7 @@
178178
&zip_xy_transform (INPUT_TRANSFORM_XY_SWAP | INPUT_TRANSFORM_X_INVERT | INPUT_TRANSFORM_Y_INVERT)
179179
&zip_xy_to_scroll_mapper
180180
&zip_scroll_snap
181-
&zip_report_rate_limit 15
181+
// &zip_report_rate_limit 15
182182
>;
183183

184184
process-next;

0 commit comments

Comments
 (0)