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

28 lines
525 B
Plaintext
Raw Permalink Normal View History

2020-08-28 13:21:31 -07:00
#include <dt-bindings/zmk/keys.h>
#include <behaviors.dtsi>
#include <dt-bindings/zmk/kscan_mock.h>
2020-08-28 13:21:31 -07:00
/ {
keymap {
compatible = "zmk,keymap";
2020-08-28 13:21:31 -07:00
default_layer {
bindings = <
&kp B &tog 1
&kp D &kp G>;
};
2020-08-28 13:21:31 -07:00
lower_layer {
bindings = <
&kp C_NEXT &trans
&kp L &kp J>;
};
2020-08-28 13:21:31 -07:00
raise_layer {
bindings = <
&kp W &kp U
&kp X &kp M>;
};
};
2020-08-28 13:21:31 -07:00
};