activate left compact number layer when shift is pressed first

This commit is contained in:
Crispy 2023-11-27 16:15:42 +01:00
parent cdaf4dbd66
commit 7eaea02ea9

View file

@ -57,7 +57,7 @@ ZMK_UNICODE_PAIR(win_multi_o, A, N6, N6, E, F, F, F, D) // multiocular o
compatible = "zmk,combos";
toggle_left_compact {
timeout-ms = <50>;
key-positions = <10 11 12 13>;
key-positions = <10 13 31>;
bindings = <&tog LEFT_COMPACT>;
};
};
@ -81,6 +81,13 @@ ZMK_UNICODE_PAIR(win_multi_o, A, N6, N6, E, F, F, F, D) // multiocular o
mods = <(MOD_LCTL)>;
keep-mods = <(MOD_LCTL)>;
};
layerleft: layer_left {
compatible = "zmk,behavior-mod-morph";
label = "shift_extra";
#binding-cells = <0>;
bindings = <&mo LEFT_COMPACT_KEYS>, <&mo LEFT_COMPACT_NUM>;
mods = <(MOD_LSFT)>;
};
gqt: global-quick-tap {
compatible = "zmk,behavior-hold-tap";
label = "GLOBAL_QUICK_TAP";
@ -169,10 +176,10 @@ ZMK_UNICODE_PAIR(win_multi_o, A, N6, N6, E, F, F, F, D) // multiocular o
};
l_left_compact {
bindings = <
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &mo LEFT_COMPACT_KEYS &trans &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &layerleft &trans &trans &trans
>;
};
l_left_compact_keys {