Skip to content

Commit

Permalink
only one encoder
Browse files Browse the repository at this point in the history
  • Loading branch information
charludo committed Oct 15, 2023
1 parent 44dbf09 commit 2f3d53c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 15 deletions.
20 changes: 6 additions & 14 deletions config/arkenswoop.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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 = <
Expand All @@ -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 {
Expand All @@ -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 {
Expand All @@ -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>;
};
};
};
Expand Down
2 changes: 1 addition & 1 deletion config/boards/shields/arkenswoop/arkenswoop.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -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>;
};
};
Expand Down

0 comments on commit 2f3d53c

Please sign in to comment.