You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1.2 KiB
35 lines
1.2 KiB
5 years ago
|
#include <behaviors.dtsi>
|
||
|
#include <dt-bindings/zmk/keys.h>
|
||
|
#include <dt-bindings/zmk/matrix-transform.h>
|
||
|
|
||
|
/ {
|
||
|
chosen {
|
||
|
zmk,keymap = &keymap0;
|
||
|
};
|
||
|
|
||
|
keymap0: keymap {
|
||
|
compatible = "zmk,keymap";
|
||
|
label ="Default Planck Keymap";
|
||
|
layers = <&default>;
|
||
|
};
|
||
|
|
||
|
layers {
|
||
|
compatible = "zmk,layers";
|
||
|
|
||
|
default: layer_0 {
|
||
|
label = "DEFAULT";
|
||
|
// -----------------------------------------------------------------------------------------
|
||
|
// | TAB | Q | W | E | R | T | Y | U | I | O | P | BSPC |
|
||
|
// | ESC | A | S | D | F | G | H | J | K | L | ; | ' |
|
||
|
// | SHIFT | Z | X | C | V | B | N | M | , | . | / | RET |
|
||
|
// | FN | LGUI | LALT | LCTL | LOWR | SPACE | RAIS | LARW | DARW | UARW | RARW |
|
||
|
bindings = <
|
||
|
&kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp DEL
|
||
|
&kp ESC &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SCLN &kp QUOT
|
||
|
&kp LSFT &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp CMMA &kp DOT &kp BSLH &kp RET
|
||
|
&trans &kp LGUI &kp LALT &kp LCTL &trans &trans &kp SPC &trans &kp LARW &kp DARW &kp UARW &kp RARW
|
||
|
>;
|
||
|
};
|
||
|
};
|
||
|
};
|