aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/dts/behaviors/to_layer.dtsi
blob: 532636a6ed2ee318937ce5daac9fe8b6a83ce6b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * Copyright (c) 2020 The ZMK Contributors
 *
 * SPDX-License-Identifier: MIT
 */

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

/ {
    behaviors {
#if ZMK_BEHAVIOR_OMIT(TO)
        /omit-if-no-ref/
#endif
        to: to_layer {
            compatible = "zmk,behavior-to-layer";
            #binding-cells = <1>;
            display-name = "To Layer";
        };
    };
};