Replaced Mouse movement with Mouse scrolling
All checks were successful
/ build (push) Successful in 3m42s

This commit is contained in:
Kaybee 2024-09-24 21:10:04 +02:00
parent 00935a2a32
commit eff824ccab

View file

@ -236,6 +236,18 @@
bindings = <&mmv MOVE_UP>, <&mmv MOVE_DOWN>;
tap-ms = <350>;
};
mouse_scroll_vertical: mouse_scroll_vertical {
compatible = "zmk,behavior-sensor-rotate";
#sensor-binding-cells = <0>;
bindings = <&msc MOVE_UP>, <&msc MOVE_DOWN>;
tap-ms = <350>;
};
mouse_scroll_horizontal: mouse_scroll_horizontal {
compatible = "zmk,behavior-sensor-rotate";
#sensor-binding-cells = <0>;
bindings = <&msc MOVE_RIGHT>, <&msc MOVE_LEFT>;
tap-ms = <350>;
};
};
combos {
@ -269,7 +281,7 @@
&none &mo 2 &kp LSHFT &trans &trans &trans &trans &kp SPACE &mo 4 &none
>;
sensor-bindings = <&mouse_move_x>, <&mouse_move_y>;
sensor-bindings = <&mouse_scroll_vertical>, <&mouse_scroll_horizontal>;
};
base_colemak-dh {