Improve number layer and add function layer
This commit is contained in:
parent
10d1805cc9
commit
c251928a8e
1 changed files with 17 additions and 7 deletions
|
@ -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 = <NAV_L SYM_L>;
|
||||
then-layer = <NUM_L>;
|
||||
if-layers = <NUM_L SYM_L>;
|
||||
then-layer = <FUN_L>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -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
|
||||
>;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue