zmk_mf68/app/tests/toggle-layer/behavior_keymap.dtsi

29 lines
405 B
Text
Raw Normal View History

2020-08-29 06:21:31 +10:00
#include <dt-bindings/zmk/keys.h>
#include <behaviors.dtsi>
#include <dt-bindings/zmk/kscan-mock.h>
/ {
keymap {
compatible = "zmk,keymap";
label ="Default keymap";
default_layer {
bindings = <
&kp B &tog 1
&kp D &kp G>;
};
lower_layer {
bindings = <
&kp C_NEXT &trans
2020-08-29 06:21:31 +10:00
&kp L &kp J>;
};
raise_layer {
bindings = <
&kp W &kp U
&kp X &kp M>;
};
};
};