keyboard/zmk/app/tests/momentary-layer/behavior_keymap.dtsi

23 lines
330 B
Plaintext
Raw Normal View History

#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 &mo 1
2020-11-22 00:34:43 +00:00
&trans &trans>;
};
2020-11-22 00:34:43 +00:00
layer_1 {
bindings = <
&kp C_NEXT &trans
2020-11-22 00:34:43 +00:00
&trans &trans>;
};
};
};