summaryrefslogtreecommitdiff
path: root/app/boards/shields/petejohanson_proton_handwire/keymap/keymap.overlay
blob: 75400222a713f98ea3303f95b06ce0b2e1c627d5 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#include <behaviors.dtsi>
#include <dt-bindings/zmk/keys.h>
#include <keymap.h>

/ {
	chosen {
		zmk,keymap = &keymap0;
	};
	keymap0: keymap {
		compatible = "zmk,keymap";
		label ="Default keymap";
		layers = <&default &lower &raise>;
	};

	layers {
		compatible = "zmk,layers";

		default: layer_0 {
			label = "DEFAULT";

			bindings = <
				&reset &kp A
				&kp B  &kp C>;
		};

		lower: layer_1 {
			label = "LOWER";

			bindings = <
				&reset &kp D
				&kp F  &kp E>;
		};

		raise: layer_2 {
			label = "RAISE";

			bindings = <
				&reset &kp I
				&kp G  &kp H>;
		};
	};
};