We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 774581d commit 9962ec5Copy full SHA for 9962ec5
config/cornetto.keymap
@@ -19,6 +19,13 @@
19
#sensor-binding-cells = <0>;
20
bindings = <&mwh SCROLL_UP>, <&mwh SCROLL_DOWN>;
21
};
22
+
23
+ mouse_wheel_h: mouse_wheel_h {
24
+ compatible = "zmk,behavior-sensor-rotate";
25
+ label = "MOUSE_WHEEL";
26
+ #sensor-binding-cells = <0>;
27
+ bindings = <&mwh SCROLL_LEFT>, <&mwh SCROLL_RIGHT>;
28
+ };
29
30
31
keymap {
@@ -67,7 +74,7 @@
67
74
&none &none &none &none &none &none &none &none &none
68
75
>;
69
76
70
- sensor-bindings = <&inc_dec_kp C_VOL_DN C_VOL_UP &rot_mwh SCROLL_RIGHT SCROLL_LEFT>;
77
+ sensor-bindings = <&inc_dec_kp C_VOL_DN C_VOL_UP &mouse_wheel_h>;
71
78
72
79
label = "admin";
73
80
0 commit comments