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

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

/ {
    behaviors {
#if ZMK_BEHAVIOR_OMIT(CAPS_WORD)
        /omit-if-no-ref/
#endif
        caps_word: caps_word {
            compatible = "zmk,behavior-caps-word";
            #binding-cells = <0>;
            continue-list = <UNDERSCORE BACKSPACE DELETE>;
            display-name = "Caps Word";
        };
    };
};