From a3700c72f21f0e4ad571eba53a4ed34ce7f3feed Mon Sep 17 00:00:00 2001 From: potter-man <167421549+potter-man@users.noreply.github.com> Date: Wed, 19 Jun 2024 15:27:19 +0300 Subject: [PATCH] Maybe right one --- .vscode/settings.json | 1 + .../shields/ergonaut_one/ergonaut_one.keymap | 53 ++++++------------- 2 files changed, 18 insertions(+), 36 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index ad65e86..d16b9d1 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,4 +1,5 @@ { + "editor.rulers": [], "cSpell.words": [ "BSLH", "Ergonaut", diff --git a/config/boards/shields/ergonaut_one/ergonaut_one.keymap b/config/boards/shields/ergonaut_one/ergonaut_one.keymap index cc764c5..93db1fe 100644 --- a/config/boards/shields/ergonaut_one/ergonaut_one.keymap +++ b/config/boards/shields/ergonaut_one/ergonaut_one.keymap @@ -6,8 +6,7 @@ #define DEF 0 #define LWR 1 #define RSE 2 -#define ADJ 3 -#define CON 4 +#define CON 3 < { quick-tap-ms = <200>; @@ -18,15 +17,6 @@ }; / { - conditional_layers { - compatible = "zmk,conditional-layers"; - - tri-layer { - if-layers = ; - then-layer = ; - }; - }; - behaviors { mtb: balanced_homerow_mods { compatible = "zmk,behavior-hold-tap"; @@ -67,46 +57,37 @@ default_layer { bindings = < - &kp GRAVE &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &mtb BSLH LBKT - &kp ESC &mtb LSHFT A &mtb LCTRL S &mtb LALT D &mtb LCMD F &kp G &kp H &mtb RCMD J &mtb RALT K &mtb RCTRL L &mtb RSHFT SEMI &kp SQT - &kp LSHFT &kp Z &kp X &kp C &kp V &kp B &kp N &mtb RBKT M &kp COMMA &kp DOT &kp FSLH &kp MINUS - < RSE TAB &mtb LCMD SPACE < LWR SPACE < LWR SPACE &mtb RCMD BSPC < RSE RET +&mt GRAVE TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp LBKT +&mt GLOBE ESC &kp A &kp S &mtb LALT D &mtb LCMD F &kp G &kp H &mtb RCMD J &mtb RALT K &kp L &kp SEMI &kp SQT +&kp LSHFT &kp Z &kp X &kp C &kp V &kp B &kp N &mtb RBKT M &kp COMMA &kp DOT &kp FSLH &mt RSHFT BSLH + &mt LALT ESC &mt LCMD SPACE &mt LCTRL TAB &mt RSHFT BSPC < RSE SPACE < LWR RET >; }; lower_layer { bindings = < - &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &kp F11 &kp F12 - &none &kp LSHFT &kp LCTRL &kp LALT &kp LCMD &none &kp LEFT &kp DOWN &kp UP &kp RIGHT &none &none - &trans &none &none &none &none &none &kp HOME &kp PG_DN &kp PG_UP &kp END &none &trans - &trans &trans &trans &trans &trans &trans +&kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &kp F11 &kp F12 +&kp C_BRI_DEC &kp C_BRI_INC &none &none &none &none &kp C_PREV &kp C_PP &kp C_NEXT &kp C_MUTE &kp C_VOL_DN &kp C_VOL_UP +&none &none &none &none &none &none &none &none &none &none &none &none + &trans &trans &trans &trans &trans &trans >; }; raise_layer { bindings = < - &kp EXCL &kp AT &kp HASH &kp DLLR &kp PRCNT &kp CARET &kp AMPS &kp STAR &kp LPAR &kp RPAR &kp LBKT &kp RBKT - &kp N1 &mtb LSHFT N2 &mtb LCTRL N3 &mtb LALT N4 &mtb LCMD N5 &kp N6 &kp N7 &mtb RCMD N8 &mtb RALT N9 &mtb RCTRL N0 &mtb RSHFT MINUS &kp EQUAL - &trans &none &none &none &none &kp LBRC &kp RBRC &none &kp COMMA &kp DOT &kp FSLH &trans - &trans &trans &trans &trans &trans &trans - >; - }; - - adjust_layer { - bindings = < - &kp C_BRI_DEC &kp C_BRI_INC &kp C_PIP &none &none &none &kp C_PREV &kp C_PP &kp C_NEXT &kp C_MUTE &kp C_VOL_DN &kp C_VOL_UP - &none &none &none &none &none &none &none &none &none &none &none &none - &none &none &none &none &none &none &none &none &none &none &none &none - &trans &trans &trans &trans &trans &trans +&kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp MINUS &kp EQUAL +&trans &none &none &kp LALT &kp LCMD &none &kp LEFT &kp DOWN &kp UP &kp RIGHT &kp LBKT &kp RBKT +&trans &none &none &none &none &none &none &none &kp COMMA &kp DOT &kp FSLH &trans + &trans &trans &trans &trans &trans &trans >; }; connection_layer { bindings = < - &bootloader &out OUT_BLE &out OUT_USB &none &none &none &none &none &none &none &none &bootloader - &bt BT_CLR &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &bt BT_SEL 4 &bt BT_SEL 3 &bt BT_SEL 2 &bt BT_SEL 1 &bt BT_SEL 0 &bt BT_CLR - &sys_reset &bt BT_DISC 0 &bt BT_DISC 1 &bt BT_DISC 2 &bt BT_DISC 3 &bt BT_DISC 4 &bt BT_DISC 4 &bt BT_DISC 3 &bt BT_DISC 2 &bt BT_DISC 1 &bt BT_DISC 0 &sys_reset - &none &none &none &none &none &none +&bootloader &out OUT_BLE &out OUT_USB &none &none &none &none &none &none &none &none &bootloader +&bt BT_CLR &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &bt BT_SEL 4 &bt BT_SEL 3 &bt BT_SEL 2 &bt BT_SEL 1 &bt BT_SEL 0 &bt BT_CLR +&sys_reset &bt BT_DISC 0 &bt BT_DISC 1 &bt BT_DISC 2 &bt BT_DISC 3 &bt BT_DISC 4 &bt BT_DISC 4 &bt BT_DISC 3 &bt BT_DISC 2 &bt BT_DISC 1 &bt BT_DISC 0 &sys_reset + &none &none &none &none &none &none >; }; };