From c251928a8ea4facafda02168684d9a7b4bd25396 Mon Sep 17 00:00:00 2001 From: Nulo Date: Tue, 14 Jun 2022 21:17:00 -0300 Subject: [PATCH] Improve number layer and add function layer --- config/rae_dux.keymap | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/config/rae_dux.keymap b/config/rae_dux.keymap index f0d43c9..29c1e6b 100644 --- a/config/rae_dux.keymap +++ b/config/rae_dux.keymap @@ -17,6 +17,7 @@ #define SYM_L 1 #define NAV_L 2 #define NUM_L 3 +#define FUN_L 4 / { combos { @@ -96,8 +97,8 @@ conditional_layers { compatible = "zmk,conditional-layers"; tri_layer { - if-layers = ; - then-layer = ; + if-layers = ; + then-layer = ; }; }; }; @@ -110,7 +111,7 @@ &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &lhm LSHFT A &lhm LALT S &lhm LCTRL D &lhm LGUI F &lhm RALT G &rhm RALT H &rhm LGUI J &rhm LCTRL K &rhm LALT L &rhm LSHFT SEMI &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp SINGLE_QUOTE - &mo NAV_L &kp LSHFT &none &none &kp SPACE &mo SYM_L + &mo NAV_L &kp LSHFT &mo NUM_L &none &kp SPACE &mo SYM_L >; }; @@ -134,10 +135,19 @@ num_layer { bindings = < - &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 - &kp LSHFT &kp LALT &kp LCTRL &kp LGUI &lhm RALT F11 &rhm RALT F12 &kp LGUI &kp LCTRL &kp LALT &kp LSHFT - &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 - &trans &trans &trans &trans &trans &trans + &none &none &none &none &none &none &kp N7 &kp N8 &kp N9 &none + &kp LSHFT &kp LALT &kp LCTRL &kp LGUI &kp RALT &none &kp N4 &kp N5 &kp N6 &kp N0 + &none &none &none &none &none &none &kp N1 &kp N2 &kp N3 &none + &trans &trans &trans &trans &trans &trans + >; + }; + + fun_layer { + bindings = < + &none &none &none &none &none &none &kp F7 &kp F8 &kp F9 &kp F12 + &kp LSHFT &kp LALT &kp LCTRL &kp LGUI &kp RALT &none &kp F4 &kp F5 &kp F6 &kp F11 + &none &none &none &none &none &none &kp F1 &kp F2 &kp F3 &kp F10 + &trans &trans &trans &trans &trans &trans >; }; };