Swap layers for the mouse sniping and scrolling

Since I have swapped the keys for the layers I need to also swap the
layers for the mouse control. Also swapping the layers for the rotary
encoder
This commit is contained in:
Greg Hellings
2024-05-28 22:51:55 -05:00
parent 628fa01cef
commit 16d5e5a6aa
2 changed files with 5 additions and 5 deletions
@@ -67,8 +67,8 @@
reg = <0>;
spi-max-frequency = <2000000>;
irq-gpios = <&gpio0 24 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
snipe-layers = <1>;
scroll-layers = <2>;
snipe-layers = <2>;
scroll-layers = <1>;
automouse-layer = <3>;
};
};
@@ -92,4 +92,4 @@ nice_view_spi: &spi0 {
chosen {
zephyr,display = &nice_view;
};
};
};
+2 -2
View File
@@ -71,7 +71,7 @@
&kp BACKSPACE &mkp LCLK &mkp RCLK &kp TAB &kp K_MUTE &mo 2 &kp ENTER &kp DELETE &kp ESCAPE
>;
sensor-bindings = <&inc_dec_kp C_VOL_DN C_VOL_UP>;
sensor-bindings = <&inc_dec_kp PG_UP PG_DN>;
};
lower_layer {
@@ -97,7 +97,7 @@
&trans &trans &trans &trans &kp HOME &trans &trans &trans &trans
>;
sensor-bindings = <&inc_dec_kp PG_UP PG_DN>;
sensor-bindings = <&inc_dec_kp C_VOL_DN C_VOL_UP>;
};
mouse_layer {