zmk_mf68/app/boards/shields/petejohanson_handwire/keymap/keymap.overlay

41 lines
680 B
Text
Raw Normal View History

2020-05-17 07:30:30 +10:00
#include <dt-bindings/zmk/keys.h>
#include <behaviors.dtsi>
2020-05-17 07:30:30 +10:00
/ {
chosen {
zmk,keymap = &keymap0;
};
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 {
label = "DEFAULT";
bindings = <
&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 {
label = "LOWER";
bindings = <
&cp M_PLAY &cp M_NEXT &trans &trans
&trans &trans &trans &trans>;
2020-05-17 07:30:30 +10:00
};
raise: layer_2 {
label = "RAISE";
bindings = <
&kp C &kp D &trans &trans
&trans &kp E &trans &trans>;
2020-05-17 07:30:30 +10:00
};
};
};