54dabffd0d
* Add new `&caps_word` behavior that acts like caps lock, but releases automatically when any "break" keycode is pressed.
19 lines
326 B
Text
19 lines
326 B
Text
/*
|
|
* Copyright (c) 2021 The ZMK Contributors
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
#include <dt-bindings/zmk/keys.h>
|
|
|
|
/ {
|
|
behaviors {
|
|
/omit-if-no-ref/ caps_word: behavior_caps_word {
|
|
compatible = "zmk,behavior-caps-word";
|
|
label = "CAPS_WORD";
|
|
#binding-cells = <0>;
|
|
continue-list = <UNDERSCORE>;
|
|
};
|
|
};
|
|
};
|
|
|