summaryrefslogtreecommitdiff
path: root/app/dts/bindings/behaviors/zmk,behavior-caps-word.yaml
diff options
context:
space:
mode:
authorPeter Johanson <peter@peterjohanson.com>2021-06-09 06:10:20 +0000
committerPete Johanson <peter@peterjohanson.com>2021-11-28 22:41:35 -0500
commit54dabffd0d371595a8142ee4da4f5d888a310cda (patch)
treebcbdc884b7de743d9804d51ec9355b22c6cff50d /app/dts/bindings/behaviors/zmk,behavior-caps-word.yaml
parent30ed2375335acf47da0216c6832ecfd30ea7097c (diff)
feat(behaviors): Add caps word (`&caps_word`).
* Add new `&caps_word` behavior that acts like caps lock, but releases automatically when any "break" keycode is pressed.
Diffstat (limited to 'app/dts/bindings/behaviors/zmk,behavior-caps-word.yaml')
-rw-r--r--app/dts/bindings/behaviors/zmk,behavior-caps-word.yaml15
1 files changed, 15 insertions, 0 deletions
diff --git a/app/dts/bindings/behaviors/zmk,behavior-caps-word.yaml b/app/dts/bindings/behaviors/zmk,behavior-caps-word.yaml
new file mode 100644
index 0000000..cc1dda0
--- /dev/null
+++ b/app/dts/bindings/behaviors/zmk,behavior-caps-word.yaml
@@ -0,0 +1,15 @@
+# Copyright (c) 2021 The ZMK Contributors
+# SPDX-License-Identifier: MIT
+
+description: Caps word behavior
+
+compatible: "zmk,behavior-caps-word"
+
+include: zero_param.yaml
+
+properties:
+ continue-list:
+ type: array
+ required: true
+ mods:
+ type: int