mirror of
https://github.com/CrispyPin/zmk-config.git
synced 2024-11-24 02:40:27 +01:00
activate left compact number layer when shift is pressed first
This commit is contained in:
parent
cdaf4dbd66
commit
7eaea02ea9
1 changed files with 12 additions and 5 deletions
|
@ -57,7 +57,7 @@ ZMK_UNICODE_PAIR(win_multi_o, A, N6, N6, E, F, F, F, D) // multiocular o
|
||||||
compatible = "zmk,combos";
|
compatible = "zmk,combos";
|
||||||
toggle_left_compact {
|
toggle_left_compact {
|
||||||
timeout-ms = <50>;
|
timeout-ms = <50>;
|
||||||
key-positions = <10 11 12 13>;
|
key-positions = <10 13 31>;
|
||||||
bindings = <&tog LEFT_COMPACT>;
|
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)>;
|
mods = <(MOD_LCTL)>;
|
||||||
keep-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 {
|
gqt: global-quick-tap {
|
||||||
compatible = "zmk,behavior-hold-tap";
|
compatible = "zmk,behavior-hold-tap";
|
||||||
label = "GLOBAL_QUICK_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 {
|
l_left_compact {
|
||||||
bindings = <
|
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 &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 &layerleft &trans &trans &trans
|
||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
l_left_compact_keys {
|
l_left_compact_keys {
|
||||||
|
|
Loading…
Reference in a new issue