Skip to content

Commit

Permalink
Add: real neo layer, assumes german layout
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Hoopmann <[email protected]>
  • Loading branch information
choopm committed Dec 7, 2022
1 parent 3d67ec5 commit 6854a07
Showing 1 changed file with 24 additions and 4 deletions.
28 changes: 24 additions & 4 deletions config/redox.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
keymap {
compatible = "zmk,keymap" ;

// assumes you use neo2 in OS
default_layer {
// --------------------------------------------------------------------------------------------------------------------------------
// | GRAVE | 1 | 2 | 3 | 4 | 5 | --- | 6 | 7 | 8 | 9 | 0 | - |
Expand All @@ -25,25 +26,44 @@
&kp GRAVE &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp MINUS
&kp TAB &kp Q &kp W &kp E &kp R &kp T &kp ESC &kp EQUAL &kp Y &kp U &kp I &kp O &kp P &kp LBKT
&kp CLCK &kp A &kp S &kp D &kp F &kp G &kp PSCRN &kp RBKT &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 PG_UP &kp PG_DN &kp HOME &kp END &kp N &kp M &kp COMMA &kp DOT &kp FSLH &mo 1
&kp LSHFT &kp Z &kp X &kp C &kp V &kp B &kp PG_UP &kp PG_DN &kp HOME &kp END &kp N &kp M &kp COMMA &kp DOT &kp FSLH &mo 2
&kp LCTRL &kp LGUI &kp LALT &kp RALT &kp SPACE &kp BSPC &kp DEL &kp ESC &kp RET &kp SPACE &kp LEFT &kp DOWN &kp UP &kp RIGHT
>;

};

// assumes you use german in OS
neo_layer {
// --------------------------------------------------------------------------------------------------------------------------------
// | GRAVE | 1 | 2 | 3 | 4 | 5 | --- | 6 | 7 | 8 | 9 | 0 | - |
// | TAB | X | V | L | C | W | ESC | --- | EQUAL | K | H | G | F | Q | [ |
// | CAPS | U | I | A | E | O | PSCRN | --- | ] | S | N | R | T | D | ' |
// | SHIFT | [ | ; | ' | P | Z | PG_UP | PG_DOWN | --- | HOME | END | B | M | , | . | J | |
// | CRTL | GUI | ALT | RALT | SPACE | BKSP | DEL | --- | ESC | RET | SPACE | LEFT | DOWN | UP | RIGHT |
bindings = <
&kp GRAVE &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp MINUS
&kp TAB &kp X &kp V &kp L &kp C &kp W &kp ESC &kp EQUAL &kp K &kp H &kp G &kp F &kp Q &kp LBKT
&kp CLCK &kp U &kp I &kp A &kp E &kp O &kp PSCRN &kp RBKT &kp S &kp N &kp R &kp T &kp D &kp SQT
&kp LSHFT &kp LBKT &kp SEMI &kp SQT &kp P &kp Z &kp PG_UP &kp PG_DN &kp HOME &kp END &kp B &kp M &kp COMMA &kp DOT &kp J &mo 2
&kp LCTRL &kp LGUI &kp LALT &kp RALT &kp SPACE &kp BSPC &kp DEL &kp ESC &kp RET &kp SPACE &kp LEFT &kp DOWN &kp UP &kp RIGHT
>;

};

// F1-12, volume, bluetooth and reset
adjust_layer {
// -----------------------------------------------------------------------------------------
// | GRAVE | F1 | F2 | F3 | F4 | F5 | --- | F6 | F7 | F8 | F9 | F10 | - |
// | TAB | Q | W | E | R | T | F11 | --- | F12 | BT1 | BT2 | BT3 | BT4 | BT5 | OUTPUT TGL |
// | CAPS | A | S | D | F | G | PSCRN | --- | BT_CLR| H | J | K | L | ; | ' |
// | SHIFT | Z | X | C | V | B | PG_UP | PG_DOWN | --- | RESET| BOOTL | N | M | , | . | / | |
// | SHIFT | Z | X | C | V | B | RESET | BOOTL | --- | RESET| BOOTL | L0 | L1 | , | . | / | |
// | CRTL | GUI | ALT | RALT | SPACE | BKSP | DEL | --- | ESC | RET | SPACE | MUTE | VDN | VUP | RIGHT |
bindings = <
&trans &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 &trans &kp F11 &kp F12 &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &out OUT_TOG
&trans &trans &trans &trans &trans &trans &trans &bt BT_CLR &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans &reset &bootloader &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &kp K_MUTE &kp K_VOL_DN &kp K_VOL_UP &trans
&trans &trans &trans &trans &trans &trans &reset &bootloader &reset &bootloader &to 0 &to 1 &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &kp K_MUTE &kp K_VOL_DN &kp K_VOL_UP &trans
>;
};
};
Expand Down

0 comments on commit 6854a07

Please sign in to comment.