2020-06-22 12:05:11 +10:00
|
|
|
#include <behaviors.dtsi>
|
2020-06-12 13:38:04 +10:00
|
|
|
#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";
|
2020-06-22 12:46:27 +10:00
|
|
|
|
2020-06-20 05:32:33 +10:00
|
|
|
bindings = <
|
2020-06-22 13:20:38 +10:00
|
|
|
&mo 1 &kp A
|
|
|
|
&mo 2 &kp C>;
|
2020-06-12 13:38:04 +10:00
|
|
|
};
|
|
|
|
|
|
|
|
lower: layer_1 {
|
|
|
|
label = "LOWER";
|
2020-06-22 12:46:27 +10:00
|
|
|
|
2020-06-20 05:32:33 +10:00
|
|
|
bindings = <
|
2020-06-22 12:52:50 +10:00
|
|
|
&trans &kp D
|
|
|
|
&trans &kp E>;
|
2020-06-12 13:38:04 +10:00
|
|
|
};
|
|
|
|
|
|
|
|
raise: layer_2 {
|
|
|
|
label = "RAISE";
|
2020-06-22 12:46:27 +10:00
|
|
|
|
2020-06-20 05:32:33 +10:00
|
|
|
bindings = <
|
2020-06-22 12:52:50 +10:00
|
|
|
&trans &kp I
|
|
|
|
&trans &kp H>;
|
2020-06-12 13:38:04 +10:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|