fix meta layer staying when only first layer key is released

This commit is contained in:
CrispyPin 2022-10-20 10:33:23 +02:00 committed by GitHub
parent 3bb5ba84cf
commit 1d6afb168b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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>; if-layers = <SYM WINDOWS>;
then-layer = <WIN_UNI>; then-layer = <WIN_UNI>;
}; };
meta_layer {
if-layers = <SYM NAV>;
then-layer = <META>;
};
}; };
}; };
@ -61,7 +65,7 @@ ZMK_UNICODE_PAIR(win_euro, N2, N0, A, C, N0, N0, B, N0) // euro sign and degree
&kp TAB &kp GRAVE &kp LBKT &kp RBKT &lin_euro &none &lin_ao &lin_ae &lin_oe &kp DEL &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 &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 &kp SQT &kp SLASH &kp BSLH &kp EQUAL &kp MINUS &kp SEMI &kp COMMA &kp DOT &trans
&trans &trans &trans &mo META &trans &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 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 &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 &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 // media + bluetooth + future layer toggles