From 2f3d53c400bc3b79756d960c060ac1e03aa9506f Mon Sep 17 00:00:00 2001 From: charludo Date: Sun, 15 Oct 2023 17:21:46 +0200 Subject: [PATCH] only one encoder --- config/arkenswoop.keymap | 20 ++++++------------- .../boards/shields/arkenswoop/arkenswoop.dtsi | 2 +- 2 files changed, 7 insertions(+), 15 deletions(-) diff --git a/config/arkenswoop.keymap b/config/arkenswoop.keymap index 713a3e7..9651f0e 100644 --- a/config/arkenswoop.keymap +++ b/config/arkenswoop.keymap @@ -346,7 +346,7 @@ &none &symbol_activate 2 2 &nav_activate 3 SPACE &shift_activate LSHIFT 0 &num_activate 1 0 &none >; - sensor-bindings = <&inc_dec_kp C D>, <&inc_dec_kp A B>; + sensor-bindings = <&inc_dec_kp C D>; }; numbers { @@ -357,10 +357,8 @@ &trans &trans &trans &trans &trans &trans >; - sensor-bindings = - <&inc_dec_kp DOWN_ARROW UP_ARROW>, - <&inc_dec_kp RIGHT LEFT>; - }; + sensor-bindings = <&inc_dec_kp DOWN_ARROW UP_ARROW>; + }; symbols { bindings = < @@ -370,9 +368,7 @@ &trans &trans &trans &trans &trans &trans >; - sensor-bindings = - <&inc_dec_kp DOWN_ARROW UP_ARROW>, - <&inc_dec_kp RIGHT LEFT>; + sensor-bindings = <&inc_dec_kp DOWN_ARROW UP_ARROW>; }; navigation { @@ -383,9 +379,7 @@ &kp K_PREVIOUS &trans &trans &trans &trans &kp K_NEXT >; - sensor-bindings = - <&inc_dec_kp DOWN_ARROW UP_ARROW>, - <&inc_dec_kp RIGHT LEFT>; + sensor-bindings = <&inc_dec_kp DOWN_ARROW UP_ARROW>; }; function { @@ -396,9 +390,7 @@ &kp K_MUTE &none &none &none &none &none >; - sensor-bindings = - <&inc_dec_kp C_VOLUME_UP C_VOLUME_DOWN>, - <&inc_dec_kp LC(TAB) LS(LC(TAB))>; + sensor-bindings = <&inc_dec_kp C_VOLUME_UP C_VOLUME_DOWN>; }; }; }; diff --git a/config/boards/shields/arkenswoop/arkenswoop.dtsi b/config/boards/shields/arkenswoop/arkenswoop.dtsi index 9618ec4..5971602 100644 --- a/config/boards/shields/arkenswoop/arkenswoop.dtsi +++ b/config/boards/shields/arkenswoop/arkenswoop.dtsi @@ -58,7 +58,7 @@ RC(2,0) RC(2,1) RC(2,2) RC(2,3) RC(2,4) RC(2,5) RC(2,6) RC(2,7) RC(2,8) RC(2,9) sensors { compatible = "zmk,keymap-sensors"; - sensors = <&left_encoder &right_encoder>; + sensors = <&left_encoder>; triggers-per-rotation = <16>; }; };