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.
42 lines
563 B
42 lines
563 B
4 years ago
|
#include <behaviors.dtsi>
|
||
5 years ago
|
#include <dt-bindings/zmk/keys.h>
|
||
|
|
||
|
/ {
|
||
|
chosen {
|
||
|
zmk,keymap = &keymap0;
|
||
|
};
|
||
|
keymap0: keymap {
|
||
|
compatible = "zmk,keymap";
|
||
|
label ="Default keymap";
|
||
|
layers = <&default &lower &raise>;
|
||
|
};
|
||
|
|
||
|
layers {
|
||
|
compatible = "zmk,layers";
|
||
|
|
||
|
default: layer_0 {
|
||
|
label = "DEFAULT";
|
||
4 years ago
|
|
||
5 years ago
|
bindings = <
|
||
4 years ago
|
&mo 1 &kp A
|
||
|
&mo 2 &kp C>;
|
||
5 years ago
|
};
|
||
|
|
||
|
lower: layer_1 {
|
||
|
label = "LOWER";
|
||
4 years ago
|
|
||
5 years ago
|
bindings = <
|
||
4 years ago
|
&trans &kp D
|
||
|
&trans &kp E>;
|
||
5 years ago
|
};
|
||
|
|
||
|
raise: layer_2 {
|
||
|
label = "RAISE";
|
||
4 years ago
|
|
||
5 years ago
|
bindings = <
|
||
4 years ago
|
&trans &kp I
|
||
|
&trans &kp H>;
|
||
5 years ago
|
};
|
||
|
};
|
||
|
};
|