summaryrefslogtreecommitdiff
path: root/app/tests/toggle-layer/behavior_keymap.dtsi
blob: 5098785dc05662210a1879dc483a36aec22f7ec8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#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 = <
				&cp C_NEXT &trans
				&kp L  &kp J>;
		};

		raise_layer {
			bindings = <
				&kp W &kp U
				&kp X  &kp M>;
		};
	};
};