mirror of
https://github.com/CrispyPin/zmk-config.git
synced 2024-11-21 17:40:25 +01:00
fix meta layer staying when only first layer key is released
This commit is contained in:
parent
3bb5ba84cf
commit
1d6afb168b
1 changed files with 9 additions and 5 deletions
|
@ -41,6 +41,10 @@ ZMK_UNICODE_PAIR(win_euro, N2, N0, A, C, N0, N0, B, N0) // euro sign and degree
|
|||
if-layers = <SYM WINDOWS>;
|
||||
then-layer = <WIN_UNI>;
|
||||
};
|
||||
meta_layer {
|
||||
if-layers = <SYM NAV>;
|
||||
then-layer = <META>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -58,10 +62,10 @@ ZMK_UNICODE_PAIR(win_euro, N2, N0, A, C, N0, N0, B, N0) // euro sign and degree
|
|||
// numbers + symbols + non english letters
|
||||
l_sym {
|
||||
bindings = <
|
||||
&kp TAB &kp GRAVE &kp LBKT &kp RBKT &lin_euro &none &lin_ao &lin_ae &lin_oe &kp DEL
|
||||
&kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0
|
||||
&trans &kp SQT &kp SLASH &kp BSLH &kp EQUAL &kp MINUS &kp SEMI &kp COMMA &kp DOT &trans
|
||||
&trans &trans &trans &mo META &trans &trans
|
||||
&kp TAB &kp GRAVE &kp LBKT &kp RBKT &lin_euro &none &lin_ao &lin_ae &lin_oe &kp DEL
|
||||
&kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0
|
||||
&trans &kp SQT &kp SLASH &kp BSLH &kp EQUAL &kp MINUS &kp SEMI &kp COMMA &kp DOT &trans
|
||||
&trans &trans &trans &trans &trans &trans
|
||||
>;
|
||||
// ' " / ? \ | = + - _ ; : , < . >
|
||||
};
|
||||
|
@ -71,7 +75,7 @@ ZMK_UNICODE_PAIR(win_euro, N2, N0, A, C, N0, N0, B, N0) // euro sign and degree
|
|||
&kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp PG_UP &kp HOME &kp UP &kp END &kp PSCRN
|
||||
&kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &kp PG_DN &kp LEFT &kp DOWN &kp RIGHT &kp K_CMENU
|
||||
&trans &kp F11 &kp F12 &kp F13 &kp F14 &kp F15 &kp F16 &kp F17 &kp F18 &trans
|
||||
&trans &mo META &trans &trans &trans &trans
|
||||
&trans &trans &trans &trans &trans &trans
|
||||
>;
|
||||
};
|
||||
// media + bluetooth + future layer toggles
|
||||
|
|
Loading…
Reference in a new issue