summaryrefslogtreecommitdiff
path: root/app/tests/toggle-layer/behavior_keymap.dtsi
blob: 2523d867fa94b2c48a8f343ea9a49abd578f3714 (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 = <
				&kp C_NEXT &trans
				&kp L  &kp J>;
		};

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