From 16d5e5a6aa9cc5d4a876298149b0f7f808cdfd72 Mon Sep 17 00:00:00 2001 From: Greg Hellings Date: Tue, 28 May 2024 22:51:55 -0500 Subject: [PATCH] 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 --- config/boards/shields/wyld_dm/wyld_dm_right.overlay | 6 +++--- config/wyld_dm.keymap | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/config/boards/shields/wyld_dm/wyld_dm_right.overlay b/config/boards/shields/wyld_dm/wyld_dm_right.overlay index 87fbdd5..0105354 100644 --- a/config/boards/shields/wyld_dm/wyld_dm_right.overlay +++ b/config/boards/shields/wyld_dm/wyld_dm_right.overlay @@ -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; }; -}; \ No newline at end of file +}; diff --git a/config/wyld_dm.keymap b/config/wyld_dm.keymap index 7df80e8..cf44cb7 100644 --- a/config/wyld_dm.keymap +++ b/config/wyld_dm.keymap @@ -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 {