From d75fe3b5819af93d1cc1007b82606894246b43c7 Mon Sep 17 00:00:00 2001 From: Alaa Saad Mansour Date: Thu, 14 Mar 2024 09:49:11 +0100 Subject: [PATCH] fix encoder volume control --- config/base30.keymap | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/config/base30.keymap b/config/base30.keymap index 6b52d6bb..748d373a 100644 --- a/config/base30.keymap +++ b/config/base30.keymap @@ -121,7 +121,7 @@ // ╰─────────────┴─────────────╯ ╰─────────────┴─────────────╯ >; #ifdef ENCODERS - sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN &inc_dec_kp PG_UP PG_DN>; + sensor-bindings = <&inc_dec_kp C_VOL_DN C_VOL_UP &inc_dec_kp PG_UP PG_DN>; #endif }; @@ -137,7 +137,7 @@ // ╰─────────────┴─────────────╯ ╰─────────────┴─────────────╯ >; #ifdef ENCODERS - sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN &inc_dec_kp PG_UP PG_DN>; + sensor-bindings = <&inc_dec_kp C_VOL_DN C_VOL_UP &inc_dec_kp PG_UP PG_DN>; #endif }; @@ -153,7 +153,7 @@ // ╰─────────────┴─────────────╯ ╰─────────────┴─────────────╯ >; #ifdef ENCODERS - sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN &inc_dec_kp PG_UP PG_DN>; + sensor-bindings = <&inc_dec_kp C_VOL_DN C_VOL_UP &inc_dec_kp PG_UP PG_DN>; #endif }; @@ -169,7 +169,7 @@ // ╰─────────────┴─────────────╯ ╰─────────────┴─────────────╯ >; #ifdef ENCODERS - sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN &inc_dec_kp PG_UP PG_DN>; + sensor-bindings = <&inc_dec_kp C_VOL_DN C_VOL_UP &inc_dec_kp PG_UP PG_DN>; #endif }; @@ -187,7 +187,7 @@ // ╰─────────────┴─────────────╯ ╰─────────────┴─────────────╯ >; #ifdef ENCODERS - sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN &inc_dec_kp PG_UP PG_DN>; + sensor-bindings = <&inc_dec_kp C_VOL_DN C_VOL_UP &inc_dec_kp PG_UP PG_DN>; #endif }; @@ -202,6 +202,9 @@ &trans &trans &trans &trans // ╰─────────────┴─────────────╯ ╰─────────────┴─────────────╯ >; + #ifdef ENCODERS + sensor-bindings = <&inc_dec_kp C_VOL_DN C_VOL_UP &inc_dec_kp PG_UP PG_DN>; + #endif }; symbols_windows { @@ -216,7 +219,7 @@ // ╰─────────────┴─────────────╯ ╰─────────────┴─────────────╯ >; #ifdef ENCODERS - sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN &inc_dec_kp PG_UP PG_DN>; + sensor-bindings = <&inc_dec_kp C_VOL_DN C_VOL_UP &inc_dec_kp PG_UP PG_DN>; #endif }; };