diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 23c3edf2ac..71d7dc508f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,7 +10,7 @@ jobs: name: Build steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Get version data id: get_info run: | diff --git a/config/adv360.keymap b/config/adv360.keymap index cf80f15e8e..f57bb987b3 100644 --- a/config/adv360.keymap +++ b/config/adv360.keymap @@ -1,71 +1,165 @@ +/* + * Copyright (c) 2020 The ZMK Contributors + * + * SPDX-License-Identifier: MIT + */ +/* THIS FILE WAS GENERATED! + * + * This file was generated automatically. You may or may not want to + * edit it directly. + */ + #include -#include +#include #include +#include #include -#include + +< { quick-tap-ms = <175>; }; / { behaviors { - #include "macros.dtsi" + #include "macros.dtsi" #include "version.dtsi" #ifndef VERSION_MACRO - macro_ver: macro_ver { - compatible = "zmk,behavior-macro"; - label = "macro_version"; - #binding-cells = <0>; - bindings = <&kp RET>; - }; - #endif - - hm: homerow_mods { - compatible = "zmk,behavior-hold-tap"; - label = "HOMEROW_MODS"; - #binding-cells = <2>; - tapping-term-ms = <200>; - quick_tap_ms = <175>; - flavor = "tap-preferred"; - bindings = <&kp>, <&kp>; - }; - }; - keymap { - compatible = "zmk,keymap"; - - default_layer { - bindings = < - &kp EQUAL &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &tog 1 &mo 3 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp MINUS - &kp TAB &kp Q &kp W &kp E &kp R &kp T &none &none &kp Y &kp U &kp I &kp O &kp P &kp BSLH - &kp ESC &kp A &kp S &kp D &kp F &kp G &none &kp LCTRL &kp LALT &kp LGUI &kp RCTRL &none &kp H &kp J &kp K &kp L &kp SEMI &kp SQT - &kp LSHFT &kp Z &kp X &kp C &kp V &kp B &kp HOME &kp PG_UP &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp RSHFT - &mo 2 &kp GRAVE &kp CAPS &kp LEFT &kp RIGHT &kp BSPC &kp DEL &kp END &kp PG_DN &kp ENTER &kp SPACE &kp UP &kp DOWN &kp LBKT &kp RBKT &mo 2 - >; + new_macro: new_macro { + compatible = "zmk,behavior-macro"; + #binding-cells = <0>; + bindings = <¯o_tap>, <&kp RCTRL &kp RIGHT_ALT &kp TAB>; + + label = "NEW_MACRO"; + }; + + #endif + + hm: homerow_mods { + compatible = "zmk,behavior-hold-tap"; + label = "HOMEROW_MODS"; + #binding-cells = <2>; + tapping-term-ms = <200>; + quick_tap_ms = <175>; + flavor = "tap-preferred"; + bindings = <&kp>, <&kp>; + + quick-tap-ms = <175>; + }; + + lh_pht: left_positional_hold_tap { + compatible = "zmk,behavior-hold-tap"; + label = "LEFT_POSITIONAL_HOLD_TAP"; + bindings = <&kp>, <&kp>; + + #binding-cells = <2>; + flavor = "balanced"; + tapping-term-ms = <280>; + quick-tap-ms = <175>; + hold-trigger-key-positions = <22 23 24 25 40 41 42 43 54 55 56 57 68 69 70>; + require-prior-idle-ms = <150>; + hold-trigger-on-release; + }; + + rh_pht: right_positional_hold_tap { + compatible = "zmk,behavior-hold-tap"; + label = "RIGHT_POSITIONAL_HOLD_TAP"; + bindings = <&kp>, <&kp>; + + #binding-cells = <2>; + tapping-term-ms = <280>; + quick-tap-ms = <175>; + flavor = "balanced"; + hold-trigger-key-positions = <15 16 17 18 29 30 31 32 29 30 31 32 47 48 49 50 65 66 67>; + hold-trigger-on-release; + }; + + skq: sticky_key_quick_release { + compatible = "zmk,behavior-sticky-key"; + bindings = <&kp>; + #binding-cells = <1>; + release-after-ms = <1000>; + quick-release; + ignore-modifiers; + label = "STICKY_KEY_QUICK_RELEASE"; + }; + + td_mt: tap_dance_mod_tap { + compatible = "zmk,behavior-tap-dance"; + label = "TAP_DANCE_MOD_TAP"; + #binding-cells = <0>; + bindings = <&skq LEFT_SHIFT>, <&kp LEFT_SHIFT>, <&kp CAPS>; + }; }; - keypad { - bindings = < - &kp EQUAL &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &trans &mo 3 &kp N6 &kp KP_NUM &kp KP_EQUAL &kp KP_DIVIDE &kp KP_MULTIPLY &kp MINUS - &kp TAB &kp Q &kp W &kp E &kp R &kp T &none &none &kp Y &kp KP_N7 &kp KP_N8 &kp KP_N9 &kp KP_MINUS &kp BSLH - &kp ESC &kp A &kp S &kp D &kp F &kp G &none &kp LCTRL &kp LALT &kp LGUI &kp RCTRL &none &kp H &kp KP_N4 &kp KP_N5 &kp KP_N6 &kp KP_PLUS &kp SQT - &kp LSHFT &kp Z &kp X &kp C &kp V &kp B &kp HOME &kp PG_UP &kp N &kp KP_N1 &kp KP_N2 &kp KP_N3 &kp KP_ENTER &kp RSHFT - &mo 2 &kp GRAVE &kp CAPS &kp LEFT &kp RIGHT &kp BSPC &kp DEL &kp END &kp PG_DN &kp ENTER &kp KP_N0 &kp UP &kp DOWN &kp KP_DOT &kp RBKT &mo 2 - >; + + macros { }; - fn { - bindings = < - &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &tog 1 &mo 3 &kp F7 &kp F8 &kp F9 &kp F10 &kp F11 &kp F12 - &trans &trans &trans &trans &trans &trans &none &none &trans &trans &trans &trans &trans &trans - &trans &trans &trans &trans &trans &trans &none &trans &trans &trans &trans &none &trans &trans &trans &trans &trans &trans - &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans - &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans - >; + + combos { + compatible = "zmk,combos"; + + combo_enter { + bindings = <&kp ENTER>; + key-positions = <65 70>; + }; + + combo_esc { + bindings = <&kp ESCAPE>; + key-positions = <55 56>; + }; }; - mod { - bindings = < - &none &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &none &trans &none &none &none &none &none &none - &none &none &none &none &none &none &bootloader &bootloader &none &none &none &none &none &none - &none &none &none &none &none &none &none &none &none &bt BT_CLR &none &rgb_ug RGB_MEFS_CMD 5 &none &none &none &none &none &none - &none &none &none &none ¯o_ver &none &none &none &none &none &none &none &none &none - &none &none &none &none &none &none &none &none &none &bl BL_TOG &rgb_ug RGB_TOG &bl BL_INC &bl BL_DEC &none &none &none - >; + + keymap { + compatible = "zmk,keymap"; + + default_layer { + bindings = < +&kp GRAVE &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &tog 2 &mo 1 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp MINUS +&kp TAB &kp Q &kp W &kp F &kp P &kp G &to 2 &kp GRAVE &kp J &kp L &kp U &kp Y &kp APOSTROPHE &kp BSLH +&skq LA(LEFT_ALT) &kp A &kp R &kp S &kp T &kp D &kp ESC &kp EQUAL &kp EQUAL &kp LGUI &kp RALT &mo 2 &kp H &kp N &kp E &kp I &kp O &skq RIGHT_ALT +&skq LS(LEFT_SHIFT) &kp Z &kp X &kp C &kp V &kp B &kp HOME &kp SLASH &kp K &kp M &kp COMMA &kp DOT &kp SLASH &sl 4 +&mo 2 &kp GRAVE &kp CAPS &kp LEFT &kp RIGHT < 3 BACKSPACE &sk LEFT_SHIFT &kp ESCAPE &skq RIGHT_GUI &skq RIGHT_CONTROL < 2 SPACE &kp UP &kp DOWN &kp LBKT &kp RBKT &mo 2 + >; + }; + + layer_mod { + bindings = < +&none &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &none &trans &none &none &none &none &none &none +&none &none &none &none &none &none &bootloader &bootloader &none &none &none &none &none &none +&none &none &none &none &none &none &none &none &none &bt BT_CLR &none &rgb_ug RGB_MEFS_CMD 5 &none &none &none &none &none &none +&none &none &none &none &none &none &none &none &none &none &none &none &none &none +&none &none &none &none &none &none &none &none &none &bl BL_TOG &rgb_ug RGB_TOG &bl BL_INC &bl BL_DEC &none &none &none + >; + }; + + numbrs { + bindings = < +&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans +&trans &kp EXCLAMATION &kp AT_SIGN &kp HASH &kp DOLLAR &kp PERCENT &trans &trans &kp CARET &kp AMPERSAND &kp ASTERISK &kp LEFT_PARENTHESIS &kp RIGHT_PARENTHESIS &trans +&trans &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &trans &trans &trans &trans &trans &trans &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &trans +&trans &trans &kp TILDE &kp GRAVE &kp LEFT_BRACE &kp RIGHT_BRACE &trans &trans &kp LEFT_BRACKET &kp RIGHT_BRACKET &kp COMMA &kp DOT &kp SLASH &trans +&trans &trans &trans &trans &trans &kp LEFT_PARENTHESIS &kp RIGHT_PARENTHESIS &kp BACKSPACE &trans &trans &trans &trans &trans &trans &trans &trans + >; + + label = "numbersymbols"; + }; + + nav { + bindings = < +&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans +&trans &kp DELETE &trans &kp COLON &kp UNDER &kp PLUS &kp PAGE_UP &trans &trans &trans &kp UP_ARROW &trans &trans &trans +&trans &kp HOME &kp END &kp PRINTSCREEN &kp MINUS &kp EQUAL &kp PG_DN &trans &trans &trans &trans &trans &kp CAPS &kp LEFT_ARROW &kp DOWN_ARROW &kp RIGHT &trans &trans +&trans &kp LESS_THAN &kp GREATER_THAN &kp K_COPY &kp K_PASTE &kp SEMI &trans &trans &kp LEFT_BRACKET &kp RIGHT_BRACKET &kp C_VOLUME_DOWN &kp C_VOLUME_UP &trans &trans +&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans + >; + }; + + fn { + bindings = < +&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans +&trans &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &trans &trans &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &trans +&trans &kp F11 &kp F12 &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans +&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans +&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans + >; + }; }; - }; }; diff --git a/config/cust_behaviors.json b/config/cust_behaviors.json new file mode 100644 index 0000000000..0637a088a0 --- /dev/null +++ b/config/cust_behaviors.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/config/cust_keycodes.json b/config/cust_keycodes.json new file mode 100644 index 0000000000..0637a088a0 --- /dev/null +++ b/config/cust_keycodes.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/config/info.json b/config/info.json index c25173a926..1248514ae4 100644 --- a/config/info.json +++ b/config/info.json @@ -1,89 +1,91 @@ { + "id": "adv360", + "name": "adv360", "layouts": { "LAYOUT": { "layout": [ - { "label": "=", "row": 0, "col": 0, "x": 0, "y": 0.25, "w":1.25 }, - { "label": "1", "row": 0, "col": 1, "x": 1.25, "y": 0.25 }, - { "label": "2", "row": 0, "col": 2, "x": 2.25, "y": 0 }, - { "label": "3", "row": 0, "col": 3, "x": 3.25, "y": 0 }, - { "label": "4", "row": 0, "col": 4, "x": 4.25, "y": 0 }, - { "label": "5", "row": 0, "col": 5, "x": 5.25, "y": 0 }, - { "label": "mod1", "row": 0, "col": 6, "x": 6.25, "y": 0 }, - { "label": "mod2", "row": 0, "col": 13, "x": 10.75, "y": 0 }, - { "label": "6", "row": 0, "col": 14, "x": 11.75, "y": 0 }, - { "label": "7", "row": 0, "col": 15, "x": 12.75, "y": 0 }, - { "label": "8", "row": 0, "col": 16, "x": 13.75, "y": 0 }, - { "label": "9", "row": 0, "col": 17, "x": 14.75, "y": 0 }, - { "label": "0", "row": 0, "col": 18, "x": 15.75, "y": 0.25 }, - { "label": "-", "row": 0, "col": 19, "x": 16.75, "y": 0.25, "w": 1.25 }, + { "label": "=", "row": 0, "col": 0, "x": 0, "y": 0.25, "w": 1.25 }, + { "label": "1", "row": 0, "col": 1, "x": 1.25, "y": 0.25 }, + { "label": "2", "row": 0, "col": 2, "x": 2.25, "y": 0 }, + { "label": "3", "row": 0, "col": 3, "x": 3.25, "y": 0 }, + { "label": "4", "row": 0, "col": 4, "x": 4.25, "y": 0 }, + { "label": "5", "row": 0, "col": 5, "x": 5.25, "y": 0 }, + { "label": "mod1", "row": 0, "col": 6, "x": 6.25, "y": 0 }, + { "label": "mod2", "row": 0, "col": 13, "x": 10.75, "y": 0 }, + { "label": "6", "row": 0, "col": 14, "x": 11.75, "y": 0 }, + { "label": "7", "row": 0, "col": 15, "x": 12.75, "y": 0 }, + { "label": "8", "row": 0, "col": 16, "x": 13.75, "y": 0 }, + { "label": "9", "row": 0, "col": 17, "x": 14.75, "y": 0 }, + { "label": "0", "row": 0, "col": 18, "x": 15.75, "y": 0.25 }, + { "label": "-", "row": 0, "col": 19, "x": 16.75, "y": 0.25, "w": 1.25 }, - { "label": "Tab", "row": 1, "col": 0, "x": 0, "y": 1.25, "w": 1.25 }, - { "label": "Q", "row": 1, "col": 1, "x": 1.25, "y": 1.25 }, - { "label": "W", "row": 1, "col": 2, "x": 2.25, "y": 1 }, - { "label": "E", "row": 1, "col": 3, "x": 3.25, "y": 1 }, - { "label": "R", "row": 1, "col": 4, "x": 4.25, "y": 1 }, - { "label": "T", "row": 1, "col": 5, "x": 5.25, "y": 1 }, - { "label": "mod3", "row": 1, "col": 6, "x": 6.25, "y": 1 }, - { "label": "mod4", "row": 1, "col": 13, "x": 10.75, "y": 1 }, - { "label": "Y", "row": 1, "col": 14, "x": 11.75, "y": 1 }, - { "label": "U", "row": 1, "col": 15, "x": 12.75, "y": 1 }, - { "label": "I", "row": 1, "col": 16, "x": 13.75, "y": 1 }, - { "label": "O", "row": 1, "col": 17, "x": 14.75, "y": 1 }, - { "label": "P", "row": 1, "col": 18, "x": 15.75, "y": 1.25 }, - { "label": "\\", "row": 1, "col": 19, "x": 16.75, "y": 1.25, "w": 1.25 }, + { "label": "Tab", "row": 1, "col": 0, "x": 0, "y": 1.25, "w": 1.25 }, + { "label": "Q", "row": 1, "col": 1, "x": 1.25, "y": 1.25 }, + { "label": "W", "row": 1, "col": 2, "x": 2.25, "y": 1 }, + { "label": "E", "row": 1, "col": 3, "x": 3.25, "y": 1 }, + { "label": "R", "row": 1, "col": 4, "x": 4.25, "y": 1 }, + { "label": "T", "row": 1, "col": 5, "x": 5.25, "y": 1 }, + { "label": "mod3", "row": 1, "col": 6, "x": 6.25, "y": 1 }, + { "label": "mod4", "row": 1, "col": 13, "x": 10.75, "y": 1 }, + { "label": "Y", "row": 1, "col": 14, "x": 11.75, "y": 1 }, + { "label": "U", "row": 1, "col": 15, "x": 12.75, "y": 1 }, + { "label": "I", "row": 1, "col": 16, "x": 13.75, "y": 1 }, + { "label": "O", "row": 1, "col": 17, "x": 14.75, "y": 1 }, + { "label": "P", "row": 1, "col": 18, "x": 15.75, "y": 1.25 }, + { "label": "\\", "row": 1, "col": 19, "x": 16.75, "y": 1.25, "w": 1.25 }, + { "label": "Caps", "row": 2, "col": 0, "x": 0, "y": 2.25, "w": 1.25 }, + { "label": "A", "row": 2, "col": 1, "x": 1.25, "y": 2.25 }, + { "label": "S", "row": 2, "col": 2, "x": 2.25, "y": 2 }, + { "label": "D", "row": 2, "col": 3, "x": 3.25, "y": 2 }, + { "label": "F", "row": 2, "col": 4, "x": 4.25, "y": 2 }, + { "label": "G", "row": 2, "col": 5, "x": 5.25, "y": 2 }, + { "label": "mod5", "row": 2, "col": 6, "x": 6.25, "y": 2 }, + { "label": "LCtrl", "row": 2, "col": 7, "x": 6.75, "y": 4, "r": 15, "rx": 5.25, "ry": 4 }, + { "label": "LAlt", "row": 2, "col": 8, "x": 7.75, "y": 4, "r": 15, "rx": 5.25, "ry": 4 }, + { "label": "LGui", "row": 2, "col": 11, "x": 9.25, "y": 4, "r": -15, "rx": 12.75, "ry": 4 }, + { "label": "RCtrl", "row": 2, "col": 12, "x": 10.25, "y": 4, "r": -15, "rx": 12.75, "ry": 4 }, + { "label": "mod6", "row": 2, "col": 13, "x": 10.75, "y": 2 }, + { "label": "H", "row": 2, "col": 14, "x": 11.75, "y": 2 }, + { "label": "J", "row": 2, "col": 15, "x": 12.75, "y": 2 }, + { "label": "K", "row": 2, "col": 16, "x": 13.75, "y": 2 }, + { "label": "L", "row": 2, "col": 17, "x": 14.75, "y": 2 }, + { "label": ";", "row": 2, "col": 18, "x": 15.75, "y": 2.25 }, + { "label": "'", "row": 2, "col": 19, "x": 16.75, "y": 2.25, "w": 1.25 }, - { "label": "Caps", "row": 2, "col": 0, "x": 0, "y": 2.25, "w":1.25 }, - { "label": "A", "row": 2, "col": 1, "x": 1.25, "y": 2.25 }, - { "label": "S", "row": 2, "col": 2, "x": 2.25, "y": 2 }, - { "label": "D", "row": 2, "col": 3, "x": 3.25, "y": 2 }, - { "label": "F", "row": 2, "col": 4, "x": 4.25, "y": 2 }, - { "label": "G", "row": 2, "col": 5, "x": 5.25, "y": 2 }, - { "label": "mod5", "row": 2, "col": 6, "x": 6.25, "y": 2}, - { "label": "LCtrl", "row": 2, "col": 7, "x": 6.75, "y": 4, "r":15, "rx":5.25 ,"ry":4}, - { "label": "LAlt", "row": 2, "col": 8, "x": 7.75, "y": 4, "r":15, "rx":5.25 ,"ry":4}, - { "label": "LGui", "row": 2, "col": 11, "x": 9.25, "y": 4, "r":-15, "rx":12.75 ,"ry":4}, - { "label": "RCtrl", "row": 2, "col": 12, "x": 10.25, "y": 4, "r":-15, "rx":12.75 ,"ry":4}, - { "label": "mod6", "row": 2, "col": 13, "x": 10.75, "y": 2}, - { "label": "H", "row": 2, "col": 14, "x": 11.75, "y": 2 }, - { "label": "J", "row": 2, "col": 15, "x": 12.75, "y": 2 }, - { "label": "K", "row": 2, "col": 16, "x": 13.75, "y": 2 }, - { "label": "L", "row": 2, "col": 17, "x": 14.75, "y": 2 }, - { "label": ";", "row": 2, "col": 18, "x": 15.75, "y": 2.25 }, - { "label": "'", "row": 2, "col": 19, "x": 16.75, "y": 2.25, "w":1.25 }, + { "label": "LShift", "row": 3, "col": 0, "x": 0, "y": 3.25, "w": 1.25 }, + { "label": "Z", "row": 3, "col": 1, "x": 1.25, "y": 3.25 }, + { "label": "X", "row": 3, "col": 2, "x": 2.25, "y": 3 }, + { "label": "C", "row": 3, "col": 3, "x": 3.25, "y": 3 }, + { "label": "V", "row": 3, "col": 4, "x": 4.25, "y": 3 }, + { "label": "B", "row": 3, "col": 5, "x": 5.25, "y": 3 }, + { "label": "Home", "row": 3, "col": 8, "x": 7.75, "y": 5, "r": 15, "rx": 5.25, "ry": 4 }, + { "label": "PgUp", "row": 3, "col": 11, "x": 9.25, "y": 5, "r": -15, "rx": 12.75, "ry": 4 }, + { "label": "N", "row": 3, "col": 14, "x": 11.75, "y": 3 }, + { "label": "M", "row": 3, "col": 15, "x": 12.75, "y": 3 }, + { "label": ",", "row": 3, "col": 16, "x": 13.75, "y": 3 }, + { "label": ".", "row": 3, "col": 17, "x": 14.75, "y": 3 }, + { "label": "/", "row": 3, "col": 18, "x": 15.75, "y": 3.25 }, + { "label": "RShift", "row": 3, "col": 19, "x": 16.75, "y": 3.25, "w": 1.25 }, - { "label": "LShift", "row": 3, "col": 0, "x": 0, "y": 3.25, "w":1.25 }, - { "label": "Z", "row": 3, "col": 1, "x": 1.25, "y": 3.25 }, - { "label": "X", "row": 3, "col": 2, "x": 2.25, "y": 3 }, - { "label": "C", "row": 3, "col": 3, "x": 3.25, "y": 3 }, - { "label": "V", "row": 3, "col": 4, "x": 4.25, "y": 3 }, - { "label": "B", "row": 3, "col": 5, "x": 5.25, "y": 3 }, - { "label": "Home", "row": 3, "col": 8, "x": 7.75, "y": 5, "r":15, "rx":5.25 ,"ry":4}, - { "label": "PgUp", "row": 3, "col": 11, "x": 9.25, "y": 5, "r":-15, "rx":12.75 ,"ry":4}, - { "label": "N", "row": 3, "col": 14, "x": 11.75, "y": 3 }, - { "label": "M", "row": 3, "col": 15, "x": 12.75, "y": 3 }, - { "label": ",", "row": 3, "col": 16, "x": 13.75, "y": 3 }, - { "label": ".", "row": 3, "col": 17, "x": 14.75, "y": 3 }, - { "label": "/", "row": 3, "col": 18, "x": 15.75, "y": 3.25 }, - { "label": "RShift", "row": 3, "col": 19, "x": 16.75, "y": 3.25, "w":1.25 }, - - { "label": "mod7", "row": 4, "col": 0, "x": 0, "y": 4.25, "w":1.25}, - { "label": "`", "row": 4, "col": 1, "x": 1.25, "y": 4.25 }, - { "label": "Caps", "row": 4, "col": 2, "x": 2.25, "y": 4 }, - { "label": "Left", "row": 4, "col": 3, "x": 3.25, "y": 4 }, - { "label": "Right", "row": 4, "col": 4, "x": 4.25, "y": 4 }, - { "label": "Bksp", "row": 4, "col": 6, "x": 5.75, "y": 5, "r":15, "rx":5.25 ,"ry":4, "h":2}, - { "label": "Del", "row": 4, "col": 7, "x": 6.75, "y": 5, "r":15, "rx":5.25 ,"ry":4, "h":2}, - { "label": "End", "row": 4, "col": 8, "x": 7.75, "y": 6, "r":15, "rx":5.25 ,"ry":4}, - { "label": "PgDn", "row": 4, "col": 11, "x": 9.25, "y": 6, "r":-15, "rx":12.75 ,"ry":4}, - { "label": "RET", "row": 4, "col": 12, "x": 10.25, "y": 5, "r":-15, "rx":12.75 ,"ry":4, "h":2}, - { "label": "SPC", "row": 4, "col": 13, "x": 11.25, "y": 5, "r":-15, "rx":12.75 ,"ry":4, "h":2}, - { "label": "Up", "row": 4, "col": 15, "x": 12.75, "y": 4 }, - { "label": "Down", "row": 4, "col": 16, "x": 13.75, "y": 4 }, - { "label": ",", "row": 4, "col": 17, "x": 14.75, "y": 4 }, - { "label": ".", "row": 4, "col": 18, "x": 15.75, "y": 4.25 }, - { "label": "mod8", "row": 4, "col": 19, "x": 16.75, "y": 4.25, "w":1.25 } + { "label": "mod7", "row": 4, "col": 0, "x": 0, "y": 4.25, "w": 1.25 }, + { "label": "`", "row": 4, "col": 1, "x": 1.25, "y": 4.25 }, + { "label": "Caps", "row": 4, "col": 2, "x": 2.25, "y": 4 }, + { "label": "Left", "row": 4, "col": 3, "x": 3.25, "y": 4 }, + { "label": "Right", "row": 4, "col": 4, "x": 4.25, "y": 4 }, + { "label": "Bksp", "row": 4, "col": 6, "x": 5.75, "y": 5, "r": 15, "rx": 5.25, "ry": 4, "h": 2 }, + { "label": "Del", "row": 4, "col": 7, "x": 6.75, "y": 5, "r": 15, "rx": 5.25, "ry": 4, "h": 2 }, + { "label": "End", "row": 4, "col": 8, "x": 7.75, "y": 6, "r": 15, "rx": 5.25, "ry": 4 }, + { "label": "PgDn", "row": 4, "col": 11, "x": 9.25, "y": 6, "r": -15, "rx": 12.75, "ry": 4 }, + { "label": "RET", "row": 4, "col": 12, "x": 10.25, "y": 5, "r": -15, "rx": 12.75, "ry": 4, "h": 2 }, + { "label": "SPC", "row": 4, "col": 13, "x": 11.25, "y": 5, "r": -15, "rx": 12.75, "ry": 4, "h": 2 }, + { "label": "Up", "row": 4, "col": 15, "x": 12.75, "y": 4 }, + { "label": "Down", "row": 4, "col": 16, "x": 13.75, "y": 4 }, + { "label": ",", "row": 4, "col": 17, "x": 14.75, "y": 4 }, + { "label": ".", "row": 4, "col": 18, "x": 15.75, "y": 4.25 }, + { "label": "mod8", "row": 4, "col": 19, "x": 16.75, "y": 4.25, "w": 1.25 } ] } - } -} + }, + "sensors": [] +} \ No newline at end of file diff --git a/config/keymap.json b/config/keymap.json index 86b8982a7f..1de35c83a4 100644 --- a/config/keymap.json +++ b/config/keymap.json @@ -6,33 +6,40 @@ "base", "keypad", "fn", - "mod" + "mod", + "Layer #4" ], "layers": [ [ - "&kp EQUAL ", "&kp N1 ", "&kp N2 ", "&kp N3 ", "&kp N4 ", "&kp N5 ", "&tog 1 ", "&mo 3 ", "&kp N6 ", "&kp N7 ", "&kp N8 ", "&kp N9 ", "&kp N0 ", "&kp MINUS", - "&kp TAB ", "&kp Q ", "&kp W ", "&kp E ", "&kp R ", "&kp T ", "&none ", "&none ", "&kp Y ", "&kp U ", "&kp I ", "&kp O ", "&kp P ", "&kp BSLH", - "&kp ESC ", "&kp A ", "&kp S ", "&kp D ", "&kp F ", "&kp G ", "&none ", "&kp LCTRL ", "&kp LALT ", "&kp LGUI ", "&kp RCTRL", "&none ", "&kp H ", "&kp J ", "&kp K ", "&kp L ", "&kp SEMI ", "&kp SQT", - "&kp LSHFT ", "&kp Z ", "&kp X ", "&kp C ", "&kp V ", "&kp B ", "&kp HOME ", "&kp PG_UP ", "&kp N ", "&kp M ", "&kp COMMA ", "&kp DOT ", "&kp FSLH ", "&kp RSHFT", - "&mo 2 ", "&kp GRAVE ", "&kp CAPS ", "&kp LEFT ", "&kp RIGHT ", "&kp BSPC ", "&kp DEL ", "&kp END ", "&kp PG_DN ", "&kp ENTER ", "&kp SPACE ", "&kp UP ", "&kp DOWN ", "&kp LBKT ", "&kp RBKT ", "&mo 2" + "&kp EQUAL", "&kp N1", "&kp N2", "&kp N3", "&kp N4", "&kp N5", "&tog 1", "&mo 3", "&kp N6", "&kp N7", "&kp N8", "&kp N9", "&kp N0", "&kp MINUS", + "&kp TAB", "&kp Q", "&kp W", "&kp E", "&kp R", "&kp T", "&none", "&mo 4", "&kp Y", "&kp U", "&kp I", "&kp O", "&kp P", "&kp BSLH", + "&kp LEFT_CONTROL", "&kp A", "&kp S", "&kp D", "&kp F", "&kp G", "&kp ESC", "&kp LCTRL", "&kp LALT", "&kp LGUI", "&kp RCTRL", "&kp GRAVE", "&kp H", "&kp J", "&kp K", "&kp L", "&kp SEMI", "&kp SQT", + "&kp BACKSPACE", "&kp Z", "&kp X", "&kp C", "&kp V", "&kp B", "&kp HOME", "&kp PG_UP", "&kp N", "&kp M", "&kp COMMA", "&kp DOT", "&kp FSLH", "&kp BACKSPACE", + "&mo 2", "&kp GRAVE", "&kp CAPS", "&kp LEFT", "&kp RIGHT", "&kp LGUI", "&kp LSHFT", "&kp END", "&kp PG_DN", "&kp ENTER", "&kp SPACE", "&kp UP", "&kp DOWN", "&kp LBKT", "&kp RBKT", "&mo 2" ], [ - "&kp EQUAL ", "&kp N1 ", "&kp N2 ", "&kp N3 ", "&kp N4 ", "&kp N5 ", "&trans ", "&mo 3 ", "&kp N6 ", "&kp KP_NUM ", "&kp KP_EQUAL ", "&kp KP_DIVIDE ", "&kp KP_MULTIPLY ", "&kp MINUS", - "&kp TAB ", "&kp Q ", "&kp W ", "&kp E ", "&kp R ", "&kp T ", "&none ", "&none ", "&kp Y ", "&kp KP_N7 ", "&kp KP_N8 ", "&kp KP_N9 ", "&kp KP_MINUS ", "&kp BSLH", - "&kp ESC ", "&kp A ", "&kp S ", "&kp D ", "&kp F ", "&kp G ", "&none ", "&kp LCTRL ", "&kp LALT ", "&kp LGUI ", "&kp RCTRL ", "&none ", "&kp H ", "&kp KP_N4 ", "&kp KP_N5 ", "&kp KP_N6 ", "&kp KP_PLUS ", "&kp SQT", - "&kp LSHFT ", "&kp Z ", "&kp X ", "&kp C ", "&kp V ", "&kp B ", "&kp HOME ", "&kp PG_UP " , "&kp N ", "&kp KP_N1 ", "&kp KP_N2 ", "&kp KP_N3 ", "&kp KP_ENTER ", "&kp RSHFT", - "&mo 2 ", "&kp GRAVE ", "&kp CAPS ", "&kp LEFT ", "&kp RIGHT ", "&kp BSPC ", "&kp DEL ", "&kp END ", "&kp PG_DN ", "&kp ENTER ", "&kp KP_N0 ", "&kp UP ", "&kp DOWN ", "&kp KP_DOT ", "&kp RBKT ", "&mo 2" + "&kp EQUAL", "&kp N1", "&kp N2", "&kp N3", "&kp N4", "&kp N5", "&trans", "&mo 3", "&kp N6", "&kp KP_NUM", "&kp KP_EQUAL", "&kp KP_DIVIDE", "&kp KP_MULTIPLY", "&kp MINUS", + "&kp TAB", "&kp Q", "&kp W", "&kp E", "&kp R", "&kp T", "&none", "&none", "&kp Y", "&kp KP_N7", "&kp KP_N8", "&kp KP_N9", "&kp KP_MINUS", "&kp BSLH", + "&kp ESC", "&kp A", "&kp S", "&kp D", "&kp F", "&kp G", "&none", "&kp LCTRL", "&kp LALT", "&kp LGUI", "&kp RCTRL", "&none", "&kp H", "&kp KP_N4", "&kp KP_N5", "&kp KP_N6", "&kp KP_PLUS", "&kp SQT", + "&kp LSHFT", "&kp Z", "&kp X", "&kp C", "&kp V", "&kp B", "&kp HOME", "&kp PG_UP", "&kp N", "&kp KP_N1", "&kp KP_N2", "&kp KP_N3", "&kp KP_ENTER", "&kp RSHFT", + "&mo 2", "&kp GRAVE", "&kp CAPS", "&kp LEFT", "&kp RIGHT", "&kp BSPC", "&kp DEL", "&kp END", "&kp PG_DN", "&kp ENTER", "&kp KP_N0", "&kp UP", "&kp DOWN", "&kp KP_DOT", "&kp RBKT", "&mo 2" ], [ - "&kp F1 ", "&kp F2 ", "&kp F3 ", "&kp F4 ", "&kp F5 ", "&kp F6 ", "&tog 1 ", "&mo 3 ", "&kp F7 ", "&kp F8 ", "&kp F9 ", "&kp F10 ", "&kp F11 ", "&kp F12", - "&trans ", "&trans ", "&trans ", "&trans ", "&trans ", "&trans ", "&none ", "&none ", "&trans ", "&trans ", "&trans ", "&trans ", "&trans ", "&trans ", - "&trans ", "&trans ", "&trans ", "&trans ", "&trans ", "&trans ", "&none ", "&trans ", "&trans ", "&trans ", "&trans ", "&none ", "&trans ", "&trans ", "&trans ", "&trans ", "&trans ", "&trans ", - "&trans ", "&trans ", "&trans ", "&trans ", "&trans ", "&trans ", "&trans ", "&trans ", "&trans ", "&trans ", "&trans ", "&trans ", "&trans ", "&trans ", - "&trans ", "&trans ", "&trans ", "&trans ", "&trans ", "&trans ", "&trans ", "&trans ", "&trans ", "&trans ", "&trans ", "&trans ", "&trans ", "&trans ", "&trans ", "&trans" + "&kp F1", "&kp F2", "&kp F3", "&kp F4", "&kp F5", "&kp F6", "&tog 1", "&mo 3", "&kp F7", "&kp F8", "&kp F9", "&kp F10", "&kp F11", "&kp F12", + "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", "&none", "&none", "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", + "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", "&none", "&trans", "&trans", "&trans", "&trans", "&none", "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", + "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", + "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", "&trans" ], [ - "&none ", "&bt BT_SEL 0 ", "&bt BT_SEL 1 ", "&bt BT_SEL 2 ", "&bt BT_SEL 3 ", "&bt BT_SEL 4 ", "&none ", "&trans ", "&none ", "&none ", "&none ", "&none ", "&none ", "&none", - "&none ", "&none ", "&none ", "&none ", "&none ", "&none ", "&bootloader ", "&bootloader ", "&none ", "&none ", "&none ", "&none ", "&none ", "&none", - "&none ", "&none ", "&none ", "&none ", "&none ", "&none ", "&none ", "&none", "&none ", "&bt BT_CLR ", "&none ", "&rgb_ug RGB_MEFS_CMD 5 ", "&none ", "&none ", "&none ", "&none ", "&none ", "&none", - "&none ", "&none ", "&none ", "&none ", "&none ", "&none ", "&none ", "&none ", "&none ", "&none ", "&none ", "&none ", "&none ", "&none", - "&none ", "&none ", "&none ", "&none ", "&none ", "&none", "&none", "&none ", "&none ", "&bl BL_TOG ", "&rgb_ug RGB_TOG ", "&bl BL_INC ", "&bl BL_DEC ", "&none ", "&none ", "&none" + "&none", "&bt BT_SEL 0", "&bt BT_SEL 1", "&bt BT_SEL 2", "&bt BT_SEL 3", "&bt BT_SEL 4", "&none", "&trans", "&none", "&none", "&none", "&none", "&none", "&none", + "&none", "&none", "&none", "&none", "&none", "&none", "&bootloader", "&bootloader", "&none", "&none", "&none", "&none", "&none", "&none", + "&none", "&none", "&none", "&none", "&none", "&none", "&none", "&none", "&none", "&bt BT_CLR", "&none", "&rgb_ug RGB_MEFS_CMD 5", "&none", "&none", "&none", "&none", "&none", "&none", + "&none", "&none", "&none", "&none", "&none", "&none", "&none", "&none", "&none", "&none", "&none", "&none", "&none", "&none", + "&none", "&none", "&none", "&none", "&none", "&none", "&none", "&none", "&none", "&bl BL_TOG", "&rgb_ug RGB_TOG", "&bl BL_INC", "&bl BL_DEC", "&none", "&none", "&none" + ], [ + "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", + "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", + "&trans", "&kp LEFT_BRACE", "&kp RIGHT_BRACE", "&kp LEFT_BRACKET", "&kp RIGHT_BRACKET", "&kp LEFT_PARENTHESIS", "&kp RIGHT_PARENTHESIS", "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", + "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", + "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", "&trans", "&trans" ] ] -} +} \ No newline at end of file diff --git a/config/macros.dtsi b/config/macros.dtsi index 953577ab2e..9cc9dbfa8e 100644 --- a/config/macros.dtsi +++ b/config/macros.dtsi @@ -1,36 +1,36 @@ - macro_quotes: macro_quotes { - compatible = "zmk,behavior-macro"; - label = "macro_quotes"; - #binding-cells = <0>; - bindings = <&kp SQT>, <&kp SQT>, <&kp LEFT>; - }; - macro_dquotes: macro_dquotes { - compatible = "zmk,behavior-macro"; - label = "macro_dquotes"; - #binding-cells = <0>; - bindings = <&kp DQT>, <&kp DQT>, <&kp LEFT>; - }; - macro_braces: macro_braces { - compatible = "zmk,behavior-macro"; - label = "macro_braces"; - #binding-cells = <0>; - bindings = <&kp LBRC>, <&kp RBRC>, <&kp LEFT>; - }; - macro_parens: macro_parens { - compatible = "zmk,behavior-macro"; - label = "macro_parens"; - #binding-cells = <0>; - bindings = <&kp LPAR>, <&kp RPAR>, <&kp LEFT>; - }; - macro_brackets: macro_brackets { - compatible = "zmk,behavior-macro"; - label = "macro_brackets"; - #binding-cells = <0>; - bindings = <&kp LBKT>, <&kp RBKT>, <&kp LEFT>; - }; - macro_kinesis: macro_kinesis { - compatible = "zmk,behavior-macro"; - label = "macro_kinesis"; - #binding-cells = <0>; - bindings = <&kp LS(K)>, <&kp I>, <&kp N>, <&kp E>, <&kp S>, <&kp I>, <&kp S>; - }; +macro_quotes: macro_quotes{ +compatible = "zmk,behavior-macro"; +label = "macro_quotes"; +#binding-cells = <0>; +bindings = <&kp SQT>, <&kp SQT>, <&kp LEFT>; +}; +macro_dquotes: macro_dquotes{ +compatible = "zmk,behavior-macro"; +label = "macro_dquotes"; +#binding-cells = <0>; +bindings = <&kp DQT>, <&kp DQT>, <&kp LEFT>; +}; +macro_braces: macro_braces{ +compatible = "zmk,behavior-macro"; +label = "macro_braces"; +#binding-cells = <0>; +bindings = <&kp LBRC>, <&kp RBRC>, <&kp LEFT>; +}; +macro_parens: macro_parens{ +compatible = "zmk,behavior-macro"; +label = "macro_parens"; +#binding-cells = <0>; +bindings = <&kp LPAR>, <&kp RPAR>, <&kp LEFT>; +}; +macro_brackets: macro_brackets{ +compatible = "zmk,behavior-macro"; +label = "macro_brackets"; +#binding-cells = <0>; +bindings = <&kp LBKT>, <&kp RBKT>, <&kp LEFT>; +}; +macro_kinesis: macro_kinesis{ +compatible = "zmk,behavior-macro"; +label = "macro_kinesis"; +#binding-cells = <0>; +bindings = <&kp LS(K)>, <&kp I>, <&kp N>, <&kp E>, <&kp S>, <&kp I>, <&kp S>; +}; \ No newline at end of file