summaryrefslogtreecommitdiff
path: root/app/boards/arm/bdn9/bdn9_rev2.keymap
blob: 50c273c764ba6d194eaab7e0496f9027cfaf49d7 (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
/*
 * Copyright (c) 2020 The ZMK Contributors
 *
 * SPDX-License-Identifier: MIT
 */

#include <behaviors.dtsi>
#include <dt-bindings/zmk/keys.h>

/* Uncomment and keep whatever encoders are on your BDN9
&sensors {
	status = "okay";
	sensors = <&left_encoder &mid_encoder &right_encoder>;
};
*/

// Uncomment each encoder installed on your BDN9
// &left_encoder { status = "okay"; };
// &mid_encoder { status = "okay"; };
// &right_encoder { status = "okay"; };

/ {
	keymap {
		compatible = "zmk,keymap";

		default_layer {
			bindings = <
				&kp HOME  &kp K_PP &kp END
				&kp PG_UP &kp UP   &kp PG_DN
				&kp LEFT  &kp DOWN &kp RIGHT
			>;
			/* Uncomment and add necessary bindings. This examples is for one encoder
			sensor-bindings = <&inc_dec_kp PG_UP PG_DN>;
			*/
		};
	};
};