From c02f3fc715fce023abbd47dc9790bc89c649045f Mon Sep 17 00:00:00 2001 From: "Chow Castro, Marcos" Date: Wed, 28 Sep 2022 13:58:09 +0200 Subject: [PATCH] #define EXTRA 8 --- config/corne.keymap | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/config/corne.keymap b/config/corne.keymap index d7487da..99a1104 100644 --- a/config/corne.keymap +++ b/config/corne.keymap @@ -80,6 +80,7 @@ SPDX-License-Identifier: MIT #define MOUSE 5 #define NONE_LOCK_LAYER 6 #define LOCK_LAYER 7 +#define EXTRA 8 #define LOCK &tog LOCK_LAYER #define UNLOCK &tog DEFAULT // combinadas para optimizar espacio @@ -111,14 +112,14 @@ SPDX-License-Identifier: MIT //}}} // ### keymap {{{ / { - conditional_layers { - compatible = "zmk,conditional-layers"; + conditional_layers { + compatible = "zmk,conditional-layers"; - tri_layer { - if-layers = ; - then-layer = ; - }; - }; + tri_layer { + if-layers = ; + then-layer = ; + }; + }; keymap { compatible = "zmk,keymap"; @@ -288,6 +289,14 @@ SPDX-License-Identifier: MIT &none &none &none &none &none &mo NONE_LOCK_LAYER >; }; + extra_layer { + bindings = < + &none &none &none &none &none &none &none &none &none &none &none &none + &none &none &none &none &none &none &none &none &none &none &none UNLOCK + &none &none &none &none &none &none &none &none &none &none &none &none + &none &none &none &none &none &none + >; + }; }; }; // }}}