mirror of
https://github.com/tcaxle/zmk-config.git
synced 2024-11-22 07:11:56 +00:00
Better One-handed mode
This commit is contained in:
parent
7713b7b3b9
commit
07d7b7389d
@ -51,14 +51,14 @@
|
||||
compatible = "zmk,behavior-tap-dance";
|
||||
label = "SHIFT_CAPS_L";
|
||||
#binding-cells = <0>;
|
||||
bindings = <&mo 5>, <&kp CAPS>;
|
||||
bindings = <&sk LSHFT>, <&kp CAPS>;
|
||||
};
|
||||
|
||||
shift_caps_r: shift_caps_r {
|
||||
compatible = "zmk,behavior-tap-dance";
|
||||
label = "SHIFT_CAPS_R";
|
||||
#binding-cells = <0>;
|
||||
bindings = <&mo 6>, <&kp CAPS>;
|
||||
bindings = <&sk RSHFT>, <&kp CAPS>;
|
||||
};
|
||||
|
||||
hlt: hlt {
|
||||
@ -88,7 +88,17 @@
|
||||
|
||||
R_SPACE {
|
||||
bindings = <&kp SPACE>;
|
||||
key-positions = <20 21>;
|
||||
key-positions = <46 47>;
|
||||
};
|
||||
|
||||
L_SPACE {
|
||||
bindings = <&kp SPACE>;
|
||||
key-positions = <38 39>;
|
||||
};
|
||||
|
||||
R_ENTER {
|
||||
bindings = <&kp ENTER>;
|
||||
key-positions = <21 20>;
|
||||
};
|
||||
};
|
||||
|
||||
@ -106,11 +116,11 @@
|
||||
// | GUI | ALT | CTRL | LOWER| ENTER | | SPACE | RAISE| CTRL | ALT | GUI |
|
||||
|
||||
bindings = <
|
||||
&kp ESCAPE &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp MINUS
|
||||
&kp TAB &kp Q &kp W &kp F &kp P &kp G &kp J &kp L &kp U &kp Y &kp SEMI &kp GRAVE
|
||||
&kp BSPC &kp A &kp R &kp S &kp T &kp D &kp H &kp N &kp E &kp I &kp O &kp SINGLE_QUOTE
|
||||
&shift_caps_l &kp Z &kp X &kp C &kp V &kp B &kp C_MUTE &kp C_PLAY_PAUSE &kp K &kp M &kp COMMA &kp DOT &kp FSLH &shift_caps_r
|
||||
&kp LCTRL &kp LEFT_WIN &kp LALT &mtd < 1 SPACE < 1 ENTER &mtd &kp RALT &kp RIGHT_WIN &kp RIGHT_CONTROL
|
||||
&kp ESCAPE &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp MINUS
|
||||
&kp TAB &kp Q &kp W &kp F &kp P &kp G &kp J &kp L &kp U &kp Y &kp SEMI &kp GRAVE
|
||||
&kp BSPC &kp A &kp R &kp S &kp T &kp D &kp H &kp N &kp E &kp I &kp O &kp SINGLE_QUOTE
|
||||
&shift_caps_l &kp Z &kp X &kp C &kp V &kp B &kp C_MUTE &kp C_PLAY_PAUSE &kp K &kp M &kp COMMA &kp DOT &kp FSLH &shift_caps_r
|
||||
&sk LCTRL &sk LEFT_WIN &sk LALT &mtd &mo 1 &mo 1 &mtd &sk RALT &sk RIGHT_WIN &sk RIGHT_CONTROL
|
||||
>;
|
||||
|
||||
sensor-bindings = <&inc_dec_kp C_VOL_DN C_VOLUME_UP>;
|
||||
@ -121,8 +131,8 @@
|
||||
&kp MINUS &kp N0 &kp N9 &kp N8 &kp N7 &kp N6 &kp N5 &kp N4 &kp N3 &kp N2 &kp N1 &kp ESC
|
||||
&kp GRAVE &kp SEMI &kp Y &kp U &kp L &kp J &kp G &kp P &kp F &kp W &kp Q &kp TAB
|
||||
&kp SQT &kp O &kp I &kp E &kp N &kp H &kp D &kp T &kp S &kp R &kp A &kp BSPC
|
||||
&kp LEFT_SHIFT &kp FSLH &kp DOT &kp COMMA &kp M &kp K &kp C_PLAY_PAUSE &kp C_MUTE &kp B &kp V &kp C &kp X &kp Z &kp RIGHT_SHIFT
|
||||
&kp RCTRL &kp RGUI &kp RALT &trans &trans &trans &trans &kp LALT &kp LGUI &kp LCTRL
|
||||
&sk LEFT_SHIFT &kp FSLH &kp DOT &kp COMMA &kp M &kp K &kp C_PLAY_PAUSE &kp C_MUTE &kp B &kp V &kp C &kp X &kp Z &sk RIGHT_SHIFT
|
||||
&sk RCTRL &sk RGUI &sk RALT &trans &trans &trans &trans &sk LALT &sk LGUI &sk LCTRL
|
||||
>;
|
||||
|
||||
label = "Mirrored";
|
||||
@ -171,27 +181,5 @@
|
||||
|
||||
label = "QWERTY";
|
||||
};
|
||||
|
||||
l_shift {
|
||||
label = "LSHIFT";
|
||||
bindings = <
|
||||
&trans &trans &trans &trans &trans &trans &kp LS(N6) &kp LS(N7) &kp LS(N8) &kp LS(N9) &kp LS(N0) &kp LS(MINUS)
|
||||
&trans &trans &trans &trans &trans &trans &kp LS(J) &kp LS(L) &kp LS(U) &kp LS(Y) &kp LS(SEMI) &kp LS(GRAVE)
|
||||
&trans &trans &trans &trans &trans &trans &kp LS(H) &kp LS(N) &kp LS(E) &kp LS(I) &kp LS(O) &kp LS(SINGLE_QUOTE)
|
||||
&trans &trans &trans &trans &trans &trans &trans &trans &kp LS(K) &kp LS(M) &kp LS(COMMA) &kp LS(DOT) &kp LS(FSLH) &trans
|
||||
&kp LS(LCTRL) &kp LS(LEFT_WIN) &kp LS(LEFT_ALT) &mtd &trans &trans &mtd &trans &trans &trans
|
||||
>;
|
||||
};
|
||||
|
||||
r_shift {
|
||||
label = "RSHIFT";
|
||||
bindings = <
|
||||
&kp RS(ESCAPE) &kp RS(N1) &kp RS(N2) &kp RS(N3) &kp RS(N4) &kp RS(N5) &trans &trans &trans &trans &trans &trans
|
||||
&kp RS(TAB) &kp RS(Q) &kp RS(W) &kp RS(F) &kp RS(P) &kp RS(G) &trans &trans &trans &trans &trans &trans
|
||||
&trans &kp RS(A) &kp RS(R) &kp RS(S) &kp RS(T) &kp RS(D) &trans &trans &trans &trans &trans &trans
|
||||
&trans &kp RS(Z) &kp RS(X) &kp RS(C) &kp RS(V) &kp RS(B) &trans &trans &trans &trans &trans &trans &trans &trans
|
||||
&trans &trans &trans &mtd &trans &trans &mtd &kp RS(RIGHT_ALT) &kp RS(RIGHT_WIN) &kp RS(RCTRL)
|
||||
>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user