2020-05-17 07:30:30 +10:00
|
|
|
#include <dt-bindings/zmk/keys.h>
|
2020-06-22 12:05:11 +10:00
|
|
|
#include <behaviors.dtsi>
|
2020-05-17 07:30:30 +10:00
|
|
|
|
|
|
|
/ {
|
|
|
|
chosen {
|
|
|
|
zmk,keymap = &keymap0;
|
2020-06-20 14:11:39 +10:00
|
|
|
};
|
|
|
|
|
2020-05-17 07:30:30 +10:00
|
|
|
keymap0: keymap {
|
|
|
|
compatible = "zmk,keymap";
|
|
|
|
label ="Default keymap";
|
|
|
|
layers = <&default &lower &raise>;
|
|
|
|
};
|
|
|
|
|
|
|
|
layers {
|
|
|
|
compatible = "zmk,layers";
|
|
|
|
|
|
|
|
default: layer_0 {
|
2020-05-19 03:42:41 +10:00
|
|
|
label = "DEFAULT";
|
2020-06-20 05:32:33 +10:00
|
|
|
bindings = <
|
2020-06-23 01:06:01 +10:00
|
|
|
&cp M_NEXT &mt MOD_LSFT B &trans &trans
|
|
|
|
&mo 1 &mo 2 &trans &trans>;
|
2020-05-17 07:30:30 +10:00
|
|
|
};
|
|
|
|
|
|
|
|
lower: layer_1 {
|
2020-05-19 03:42:41 +10:00
|
|
|
label = "LOWER";
|
2020-06-20 05:32:33 +10:00
|
|
|
|
|
|
|
bindings = <
|
2020-06-23 01:06:01 +10:00
|
|
|
&cp M_PLAY &cp M_NEXT &trans &trans
|
|
|
|
&trans &trans &trans &trans>;
|
2020-05-17 07:30:30 +10:00
|
|
|
};
|
|
|
|
|
|
|
|
raise: layer_2 {
|
2020-05-19 03:42:41 +10:00
|
|
|
label = "RAISE";
|
2020-06-20 05:32:33 +10:00
|
|
|
bindings = <
|
2020-06-23 01:06:01 +10:00
|
|
|
&kp C &kp D &trans &trans
|
|
|
|
&trans &kp E &trans &trans>;
|
2020-05-17 07:30:30 +10:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|