added fun from atreus

implemented symbol layer
still need:
- caps word
- combos
- nav layer
- pipe chara
This commit is contained in:
Anish Lakhwara 2024-09-29 02:21:25 -07:00
parent e3015ce454
commit 73fd1ab8eb

View file

@ -17,10 +17,11 @@
// Layer definitions // Layer definitions
#define BASE 0 #define BASE 0
#define SYM 1 #define NUM 1
#define EXT 2 #define SYM 2
#define FNC 3 #define NAV 3
#define SETTINGS 4 #define FNC 4
#define SETTINGS 5
/* Homerow mods */ /* Homerow mods */
@ -121,6 +122,11 @@
combos { combos {
compatible = "zmk,combos"; compatible = "zmk,combos";
// both right thumb keys // both right thumb keys
combo_accent {
timeout-ms = <200>;
key-positions = <32 33>;
bindings = <&kp ESC>;
};
// internal-left & external-right thumb keys // internal-left & external-right thumb keys
// both left thumb keys // both left thumb keys
combo_settings { combo_settings {
@ -144,32 +150,43 @@
default_layer { default_layer {
label = "Base"; label = "Base";
bindings = < bindings = <
&kp DOT &kp COMMA &kp DOT &kp P &kp Y &kp F &kp G &kp C &kp R &kp L &kp SQT &kp COMMA &kp DOT &kp P &kp Y &kp F &kp G &kp C &kp R &kp L
&hml LCTRL A &hml LALT O &hml LSHIFT E &hml LGUI U &kp I &kp D &hmr RGUI H &hmr RSHIFT T &hmr RALT N &hmr RCTRL S &hml LCTRL A &hml LALT O &hml LSHIFT E &hml LGUI U &kp I &kp D &hmr RGUI H &hmr RSHIFT T &hmr RALT N &hmr RCTRL S
&kp SCLN &kp Q &kp J &kp K &kp X &kp B &kp M &kp W &kp V &kp Z &kp SCLN &kp Q &kp J &kp K &kp X &kp B &kp M &kp W &kp V &kp Z
&mt LALT SPC &mt LGUI TAB &mt LSHIFT RET &mt LCTRL BSPC &lt NUM SPC &lt SYM BSPC &lt NAV TAB &lt FNC RET
>; >;
}; };
// Numbers and high frequency symbols // Numbers and high frequency symbols
sym_layer { num_layer {
label = "Sym."; label = "Num.";
bindings = < bindings = <
&none &none &none &none &none &none &kp N7 &kp N8 &kp N9 &none &none &none &none &none &none &kp MINUS &kp N7 &kp N8 &kp N9 &none
&none &none &none &none &none &none &kp N4 &kp N5 &kp N6 &none &trans &trans &trans &trans &none &kp KP_PLUS &kp N4 &kp N5 &kp N6 &kp EQUAL
&none &none &none &none &none &kp N0 &kp N1 &kp N2 &kp N3 &none &none &none &none &none &none &kp N0 &kp N1 &kp N2 &kp N3 &none
&mo FNC &none &trans &trans &mo FNC &none &trans &trans
>; >;
}; };
// Main modifiers and arrow keys // Symbols
ext_layer { sym_layer {
label = "Mods"; label = "Sym.";
bindings = < bindings = <
&kp ESC &kp C_PREV &kp C_PP &kp C_NEXT &kp C_PAUSE &kp PG_UP &kp HOME &kp UP &kp END &kp CAPS &none &none &none &none &none &kp MINUS &kp AMPS &kp STAR &kp N9 &kp FSLH
&sk LALT &sk LGUI &sk LSHIFT &sk LCTRL &kp RALT &kp PG_DN &kp LEFT &kp DOWN &kp RIGHT &kp DEL &trans &trans &trans &trans &none &kp GRAVE &kp DLLR &kp PRCNT &kp CARET &kp QUESTION
&kp LC(Z) &kp LC(X) &kp LC(C) &kp TAB &kp LC(V) &kp LC(BSPC) &kp BSPC &trans &trans &trans &none &none &none &none &none &kp TILDE &kp EXCL &kp AT &kp HASH &kp BSLH
&trans &kp LCTRL &kp ENTER &mo FNC &trans &trans &trans &trans
>;
};
// Main modifiers and arrow keys
nav_layer {
label = "Nav.";
bindings = <
&none &none &none &none &none &none &none &none &none &none
&trans &trans &trans &trans &none &none &none &none &none &none
&none &none &none &none &none &none &none &none &none &none
&trans &trans &trans &trans
>; >;
}; };
@ -177,10 +194,10 @@
fnc_layer { fnc_layer {
label = "FRow"; label = "FRow";
bindings = < bindings = <
&kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &kp EXCL &kp AT &kp UP &kp DLLR &kp PRCNT &none &none &none &none &none
&sk LALT &sk LGUI &sk LSHIFT &sk LCTRL &kp RALT &kp F11 &kp F12 &kp PRINTSCREEN &trans &trans &kp LPAR &kp LEFT &kp DOWN &kp RIGHT &kp RPAR &none &none &none &none &none
&none &none &none &none &none &none &none &none &none &none &kp LBKT &kp RBKT &kp HASH &kp LBRC &kp RBRC &none &none &none &none &none
&none &none &none &none &none &none &trans &trans
>; >;
}; };