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

42 lines
563 B
Text
Raw Normal View History

#include <behaviors.dtsi>
#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";
bindings = <
2020-06-22 12:52:50 +10:00
&to 1 &kp A
&to 2 &kp C>;
};
lower: layer_1 {
label = "LOWER";
bindings = <
2020-06-22 12:52:50 +10:00
&trans &kp D
&trans &kp E>;
};
raise: layer_2 {
label = "RAISE";
bindings = <
2020-06-22 12:52:50 +10:00
&trans &kp I
&trans &kp H>;
};
};
};