2020-10-03 19:35:17 +10:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2020 The ZMK Contributors
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*/
|
|
|
|
|
2020-10-02 02:18:30 +10:00
|
|
|
#include <behaviors.dtsi>
|
|
|
|
#include <dt-bindings/zmk/keys.h>
|
|
|
|
#include <dt-bindings/zmk/bt.h>
|
|
|
|
|
|
|
|
/ {
|
|
|
|
keymap0: keymap {
|
|
|
|
compatible = "zmk,keymap";
|
|
|
|
|
|
|
|
default_layer {
|
|
|
|
// ------------------------------------------------------------------------------------------
|
|
|
|
// | ESC | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | BKSP |
|
2020-10-03 20:21:22 +10:00
|
|
|
// | TAB | Q | W | E | R | T | Y | U | I | O | P | [ | ] | \ |
|
2020-10-02 02:18:30 +10:00
|
|
|
// | CAPS | A | S | D | F | G | H | J | K | L | ; | ' | ENTER |
|
|
|
|
// | SHIFT | Z | X | C | V | B | N | M | , | . | / | SHIFT |
|
|
|
|
// | CTL | WIN | ALT | SPACE | ALT | MO(1) | WIN | CTRL |
|
|
|
|
// ------------------------------------------------------------------------------------------
|
|
|
|
bindings = <
|
2020-11-19 11:46:59 +11:00
|
|
|
&kp ESC &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 BSPC
|
|
|
|
&kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp LBKT &kp RBKT &kp BSLH
|
|
|
|
&kp CLCK &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp SQT &kp RET
|
|
|
|
&kp LSHFT &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp RSHFT
|
|
|
|
&kp LCTRL &kp LGUI &kp LALT &kp SPACE &kp RALT &mo 1 &kp RGUI &kp RCTRL
|
2020-10-02 02:18:30 +10:00
|
|
|
>;
|
|
|
|
};
|
2020-10-03 20:21:22 +10:00
|
|
|
|
|
|
|
fn_layer {
|
|
|
|
bindings = <
|
2020-11-19 11:46:59 +11:00
|
|
|
&kp GRAVE &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &kp F11 &kp F12 &bootloader
|
2020-10-03 20:21:22 +10:00
|
|
|
&trans &bt BT_CLR &none &none &none &none &none &none &none &none &none &none &none &reset
|
2020-11-19 11:46:59 +11:00
|
|
|
&trans &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &kp LEFT &kp DOWN &kp UP &kp RIGHT &none &none &trans
|
2020-10-03 20:21:22 +10:00
|
|
|
&trans &none &none &none &none &none &none &none &none &none &none &trans
|
|
|
|
&trans &trans &trans &trans &trans &trans &trans &trans
|
|
|
|
>;
|
|
|
|
};
|
2020-10-02 02:18:30 +10:00
|
|
|
};
|
|
|
|
};
|