added mouse move encoders
All checks were successful
/ build (push) Successful in 3m52s

This commit is contained in:
Kaybee 2024-09-12 17:38:37 +02:00
parent 2695b08504
commit fe53a8bf77

View file

@ -222,6 +222,17 @@
#binding-cells = <0>;
mods = <(MOD_LSFT)>;
};
mouse_move_x: mouse_move_x {
compatible = "zmk,behavior-sensor-rotate";
#sensor-binding-cells = <0>;
bindings = <&mmv MOVE_RIGHT>, <&mmv MOVE_LEFT>;
};
mouse_move_y: mouse_move_y {
compatible = "zmk,behavior-sensor-rotate";
#sensor-binding-cells = <0>;
bindings = <&mmv MOVE_UP>, <&mmv MOVE_DOWN>;
};
};
combos {
@ -255,7 +266,7 @@
&none &mo 2 &kp LSHFT &trans &trans &trans &trans &kp SPACE &mo 4 &none
>;
sensor-bindings = <&mmv MOVE_DOWN MOVE_UP>, <&mmv MOVE_LEFT MOVE_RIGHT>;
sensor-bindings = <&mouse_move_x>, <&mouse_move_y>;
};
base_colemak-dh {