Compare commits

...

3 commits

Author SHA1 Message Date
Oliver Davies e210b346e2 Add simplified layout 2025-01-10 10:35:43 +00:00
Oliver Davies 10f4133258 Add symbols layer 2024-12-02 21:37:52 +00:00
Oliver Davies 6766237e1c Base layer configuration 2024-12-02 20:06:09 +00:00

View file

@ -12,12 +12,13 @@
#include <dt-bindings/zmk/rgb.h> #include <dt-bindings/zmk/rgb.h>
#define HYPER LC(LS(LG(LALT))) #define HYPER LC(LS(LG(LALT)))
#define CSHFT LC(LS)
// layers // layers
#define DEFAULT 0 #define DEFAULT 0
#define LOWER 1 #define LOWER 1
#define MAGIC 2 #define MAGIC 2
#define FACTORY_TEST 3 #define SYMBOLS 3
/ { / {
behaviors { behaviors {
@ -39,6 +40,15 @@
tapping-term-ms = <200>; tapping-term-ms = <200>;
bindings = <&mo>, <&rgb_ug_status_macro>; bindings = <&mo>, <&rgb_ug_status_macro>;
}; };
bhm: balanced_homerow_mods {
compatible = "zmk,behavior-hold-tap";
#binding-cells = <2>;
tapping-term-ms = <200>;
quick-tap-ms = <0>;
flavor = "balanced";
bindings = <&kp>, <&kp>;
};
}; };
macros { macros {
@ -91,21 +101,21 @@
compatible = "zmk,keymap"; compatible = "zmk,keymap";
default_layer { default_layer {
// --------------------------------------------------------------------------------------------------------------------------------- // --------------------------------------------------------------------------------------------------------------------------------------------
// | F1 | F2 | F3 | F4 | F5 | | F6 | F7 | F8 | F9 | F10 | // | F1 | F2 | F3 | F4 | F5 | | F6 | F7 | F8 | F9 | F10 |
// | = | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | - | // | = | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | # |
// | TAB | Q | W | E | R | T | | Y | U | I | O | P | \ | // | ` | Q | W | E | R | T | | Y | U | I | O | P | - |
// | ESC | A | S | D | F | G | | H | J | K | L | ; | ' | // | ESC | A | S | D/Alt| F | G | | H | J |K/Symbol| L | ; | ' |
// | ` | Z | X | C | V | B | LSHFT | LCTRL | LOWER | | LGUI | RCTRL | RSHFT | N | M | , | . | / | PGUP | // | LSHFT | Z | X | C | V | B | ESC | UP | DOWN | | LEFT | RIGHT | ENTER | N | M | , | . | / | RSHFT |
// | MAGIC | HOME| END | LEFT | RIGHT| | BSPC | DEL | LALT | | RALT | RET | SPACE | | UP | DOWN | [ | ] | PGDN | // | MAGIC | HOME | PGUP | PGDN | END | | BSPC | DEL | TBD | | TBD | TAB | SPACE | | [ | ( | ) | ] | MAGIC |
bindings = < bindings = <
&kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10
&kp EQUAL &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp MINUS &kp EQUAL &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp BSLH
&kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp BSLH &kp GRAVE &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp MINUS
&kp ESC &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp SQT &caps_word &kp A &kp S &kp D &bhm LALT F &kp G &kp H &bhm LALT J &lt SYMBOLS K &kp L &kp SEMI &kp SQT
&kp GRAVE &kp Z &kp X &kp C &kp V &kp B &kp LSHFT &kp LCTRL &layer_td &kp LGUI &kp RCTRL &kp RSHFT &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp PG_UP &sk LSHFT &bhm LCTRL Z &kp X &kp C &kp V &kp B &kp ESC &kp UP &kp DOWN &kp LEFT &kp RIGHT &kp RET &kp N &kp M &kp COMMA &kp DOT &bhm LGUI FSLH &mo SYMBOLS
&magic MAGIC 0 &kp HOME &kp END &kp LEFT &kp RIGHT &kp BSPC &kp DEL &kp LALT &kp RALT &kp RET &kp SPACE &kp UP &kp DOWN &kp LBKT &kp RBKT &kp PG_DN &magic MAGIC 0 &kp HOME &kp END &kp LEFT &kp RIGHT &kp BSPC &kp DEL &kp LCTL &kp LGUI &kp TAB &lt SYMBOLS SPACE &kp LPAR &kp LBKT &kp RBKT &kp RPAR &magic MAGIC 0
>; >;
}; };
@ -127,18 +137,26 @@
&none &rgb_ug RGB_SPI &rgb_ug RGB_SAI &rgb_ug RGB_HUI &rgb_ug RGB_BRI &rgb_ug RGB_TOG &none &none &none &none &none &none &none &rgb_ug RGB_SPI &rgb_ug RGB_SAI &rgb_ug RGB_HUI &rgb_ug RGB_BRI &rgb_ug RGB_TOG &none &none &none &none &none &none
&bootloader &rgb_ug RGB_SPD &rgb_ug RGB_SAD &rgb_ug RGB_HUD &rgb_ug RGB_BRD &rgb_ug RGB_EFF &none &none &none &none &none &bootloader &bootloader &rgb_ug RGB_SPD &rgb_ug RGB_SAD &rgb_ug RGB_HUD &rgb_ug RGB_BRD &rgb_ug RGB_EFF &none &none &none &none &none &bootloader
&sys_reset &none &none &none &none &none &bt_2 &bt_3 &none &none &none &none &none &none &none &none &none &sys_reset &sys_reset &none &none &none &none &none &bt_2 &bt_3 &none &none &none &none &none &none &none &none &none &sys_reset
&none &none &none &none &none &bt_0 &bt_1 &out OUT_USB &none &none &none &none &none &none &none &to FACTORY_TEST &none &none &none &none &none &bt_0 &bt_1 &out OUT_USB &none &none &none &none &none &none &none &none
>; >;
}; };
factory_test_layer { // --------------------------------------------------------------------------------------------------------------------------------------------
// | | | | | | | | | | | |
// | | ` | ( | ) | ; | , | | | | | | |
// | ! | { | ' | " | } | ? | | | | | | | |
// | # | ^ | = | _ | $ | * | | | | | | | |
// | @ | < | | | - | > | / | \ | . | * | | | | | | | | | | |
// | ~ | & | [ | ] | + | | % | : | ; | | | | | | | | | | |
symbols_layer {
bindings = < bindings = <
&kp N0 &kp N6 &kp N2 &kp N8 &kp N4 &kp N4 &kp N8 &kp N2 &kp N6 &kp N0 &none &none &none &none &none &none &none &none &none &none
&kp N1 &kp N7 &kp N3 &kp N9 &kp N5 &kp N0 &kp N0 &kp N5 &kp N9 &kp N3 &kp N7 &kp N1 &none &kp GRAVE &kp LPAR &kp RPAR &kp SEMI &kp COMMA &none &none &none &none &none &none
&kp N2 &kp N8 &kp N4 &kp N0 &kp N6 &kp N1 &kp N1 &kp N6 &kp N0 &kp N4 &kp N8 &kp N2 &kp EXCL &kp LBRC &kp SQT &kp LS(N2) &kp RBRC &kp QMARK &kp SEMI &none &none &none &none &none
&kp N3 &kp N9 &kp N5 &kp N1 &kp N7 &kp N2 &kp N2 &kp N7 &kp N1 &kp N5 &kp N9 &kp N3 &kp BSLH &kp CARET &kp EQUAL &kp UNDER &kp DLLR &kp STAR &kp DOT &kp BSPC &kp TAB &kp SPACE &kp RET &none
&kp N4 &kp N0 &kp N6 &kp N2 &kp N8 &kp N3 &kp N4 &kp N5 &kp N6 &kp N6 &kp N5 &kp N4 &kp N3 &kp N8 &kp N2 &kp N6 &kp N0 &kp N4 &kp LS(SQT) &kp LT &kp LS(NON_US_BSLH) &kp MINUS &kp GT &kp FSLH &kp NON_US_BSLH &kp DOT &kp STAR &none &none &none &kp FSLH &kp DEL &kp LS(TAB) &none &none &none
&kp N5 &kp N1 &kp N7 &kp N3 &kp N9 &kp N7 &kp N8 &kp N9 &kp N9 &kp N8 &kp N7 &kp N9 &kp N3 &kp N7 &kp N1 &kp N5 &kp LS(NON_US_HASH) &kp LS(N7) &kp LBKT &kp RBKT &kp PLUS &kp PRCNT &kp COLON &kp SEMI &none &none &none &trans &trans &trans &trans &none
>; >;
}; };
}; };