Skip to content

Commit

Permalink
rotary controls
Browse files Browse the repository at this point in the history
  • Loading branch information
keymap-editor[bot] authored Oct 15, 2023
1 parent d1e4828 commit 040ccb2
Showing 1 changed file with 29 additions and 18 deletions.
47 changes: 29 additions & 18 deletions config/arkenswoop.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -333,17 +333,23 @@
#binding-cells = <0>;
bindings = <&kp TILDE &kp SPACE>;
};
nvim_top: nvim_top {
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
bindings = <&kp NUMBER_1 &kp LS(G)>;
label = "NVIM_TOP";
};
};

keymap {
compatible = "zmk,keymap";

default {
bindings = <
&kp J &kp L &kp U &kp A &kp Q &kp W &kp B &kp D &kp G &kp Y
&kp C &kp R &kp I &kp E &kp O &kp M &kp N &kp T &kp S &kp H
&kp COMMA &kp V &kp X &kp P &real_d_quotes &kp COLON &kp F &kp Z &kp K &kp PERIOD
&none &symbol_activate 2 2 &nav_activate 3 SPACE &shift_activate LSHIFT 0 &num_activate 1 0 &none
&kp J &kp L &kp U &kp A &kp Q &kp W &kp B &kp D &kp G &kp Y
&kp C &kp R &kp I &kp E &kp O &kp M &kp N &kp T &kp S &kp H
&kp COMMA &kp V &kp X &kp P &real_d_quotes &kp COLON &kp F &kp Z &kp K &kp PERIOD
&nvim_top &symbol_activate 2 2 &nav_activate 3 SPACE &shift_activate LSHIFT 0 &num_activate 1 0 &kp LS(G)
>;

sensor-bindings =
Expand All @@ -360,9 +366,9 @@
>;

sensor-bindings =
<&inc_dec_kp PAGE_UP PAGE_DOWN>,
<&inc_dec_kp LG(LS(Z)) LG(Z)>;
};
<&inc_dec_kp RIGHT_BRACE LEFT_BRACE>,
<&inc_dec_kp N LS(N)>;
};

symbols {
bindings = <
Expand All @@ -372,32 +378,37 @@
&trans &trans &trans &trans &trans &trans
>;

sensor-bindings = <&inc_dec_kp DOWN_ARROW UP_ARROW>;
sensor-bindings = <&inc_dec_kp E B>, <&inc_dec_kp W B>;

sensor-bindings =
<&inc_dec_kp LG(RIGHT) LG(LEFT)>,
<&inc_dec_kp TAB LS(TAB)>;
};

navigation {
bindings = <
&kp LC(A) &kp LA(LEFT) &kp UP &kp LA(RIGHT) &none &none &kp LG(N7) &kp LG(N8) &kp LG(N9) &kp LG(N0)
&mo 4 &kp LEFT &kp DOWN &kp RIGHT &kp LC(S) &none &kp LG(N4) &kp LG(N5) &kp LG(N6) &kp LG(N0)
&kp LC(D) &kp LC(C) &kp LC(X) &kp LC(V) &kp LC(T) &none &kp LG(N1) &kp LG(N2) &kp LG(N3) &none
&kp K_PREVIOUS &trans &trans &trans &trans &kp K_NEXT
&kp LC(A) &kp LA(LEFT) &kp UP &kp LA(RIGHT) &none &none &kp LG(N7) &kp LG(N8) &kp LG(N9) &kp LG(N0)
&mo 4 &kp LEFT &kp DOWN &kp RIGHT &kp LC(S) &none &kp LG(N4) &kp LG(N5) &kp LG(N6) &kp LG(N0)
&kp LC(D) &kp LC(C) &kp LC(X) &kp LC(V) &kp LC(T) &none &kp LG(N1) &kp LG(N2) &kp LG(N3) &none
&kp LA(LEFT_ARROW) &trans &trans &trans &trans &kp LA(RIGHT)
>;

sensor-bindings = <&inc_dec_kp F24 F24>, <&inc_dec_kp F15 F14>;
sensor-bindings =
<&inc_dec_kp C_AC_ZOOM_IN C_AC_ZOOM_OUT>,
<&inc_dec_kp LC(LS(LEFT_ARROW)) LS(LC(RIGHT))>;
};

function {
bindings = <
&trans &kp PRINTSCREEN &none &out OUT_BLE &bt BT_SEL 0 &none &kp F7 &kp F8 &kp F9 &kp F10
&none &none &none &out OUT_USB &bt BT_SEL 1 &none &kp F4 &kp F5 &kp F6 &kp F11
&none &none &none &none &confirm_bt_reset &none &kp F1 &kp F2 &kp F3 &kp F12
&kp K_MUTE &none &none &none &none &none
&trans &kp PRINTSCREEN &none &out OUT_BLE &bt BT_SEL 0 &none &kp F7 &kp F8 &kp F9 &kp F10
&none &none &none &out OUT_USB &bt BT_SEL 1 &none &kp F4 &kp F5 &kp F6 &kp F11
&none &none &none &none &confirm_bt_reset &none &kp F1 &kp F2 &kp F3 &kp F12
&kp C_PLAY_PAUSE &none &none &none &none &kp K_MUTE
>;

sensor-bindings = <&inc_dec_kp F24 F24>, <&inc_dec_kp F15 F14>;
sensor-bindings =
<&inc_dec_kp C_NEXT C_PREV>,
<&inc_dec_kp C_VOLUME_UP C_VOLUME_DOWN>;
};
};
};
Expand Down

0 comments on commit 040ccb2

Please sign in to comment.