summaryrefslogtreecommitdiff
path: root/app/dts/behaviors/sticky_key.dtsi
blob: 1e66a1ed803fb0b7099f9d7b13099da7587512ed (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
/*
 * Copyright (c) 2020 The ZMK Contributors
 *
 * SPDX-License-Identifier: MIT
 */

/ {
	behaviors {
		sk: behavior_sticky_key {
			compatible = "zmk,behavior-sticky-key";
			label = "STICKY_KEY";
			#binding-cells = <1>;
			release-after-ms = <1000>;
			bindings = <&kp>;
		};
		sl: behavior_sticky_layer {
			compatible = "zmk,behavior-sticky-key";
			label = "STICKY_LAYER";
			#binding-cells = <1>;
			release-after-ms = <1000>;
			bindings = <&mo>;
		};
	};

};