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:
@@ -67,8 +67,8 @@
|
|||||||
reg = <0>;
|
reg = <0>;
|
||||||
spi-max-frequency = <2000000>;
|
spi-max-frequency = <2000000>;
|
||||||
irq-gpios = <&gpio0 24 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
|
irq-gpios = <&gpio0 24 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
|
||||||
snipe-layers = <1>;
|
snipe-layers = <2>;
|
||||||
scroll-layers = <2>;
|
scroll-layers = <1>;
|
||||||
automouse-layer = <3>;
|
automouse-layer = <3>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@@ -92,4 +92,4 @@ nice_view_spi: &spi0 {
|
|||||||
chosen {
|
chosen {
|
||||||
zephyr,display = &nice_view;
|
zephyr,display = &nice_view;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -71,7 +71,7 @@
|
|||||||
&kp BACKSPACE &mkp LCLK &mkp RCLK &kp TAB &kp K_MUTE &mo 2 &kp ENTER &kp DELETE &kp ESCAPE
|
&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 {
|
lower_layer {
|
||||||
@@ -97,7 +97,7 @@
|
|||||||
&trans &trans &trans &trans &kp HOME &trans &trans &trans &trans
|
&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 {
|
mouse_layer {
|
||||||
|
|||||||
Reference in New Issue
Block a user