aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/dts/bindings/behaviors/zmk,behavior-toggle-layer.yaml
diff options
context:
space:
mode:
authorNicolas Munnich <[email protected]>2024-12-13 00:13:56 +0000
committerGitHub <[email protected]>2024-12-12 19:13:56 -0500
commit4ef231f4bba87151acfbd1cf3babd83b69813e45 (patch)
tree4f8ed2da58aa8284d6fdc010983279140819f73a /app/dts/bindings/behaviors/zmk,behavior-toggle-layer.yaml
parent7013158a6715d94b34e8c471ce25bb5005f3bb49 (diff)
downloadzmk-4ef231f4bba87151acfbd1cf3babd83b69813e45.tar.gz
zmk-4ef231f4bba87151acfbd1cf3babd83b69813e45.zip
feat: Added `toggle-mode`, allowing toggle-on and toggle-off (#2555)
feat: added toggle mode to key and layer toggles docs: documented toggle mode changes
Diffstat (limited to 'app/dts/bindings/behaviors/zmk,behavior-toggle-layer.yaml')
-rw-r--r--app/dts/bindings/behaviors/zmk,behavior-toggle-layer.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/dts/bindings/behaviors/zmk,behavior-toggle-layer.yaml b/app/dts/bindings/behaviors/zmk,behavior-toggle-layer.yaml
index 0a9723f7bc..1ab0179c49 100644
--- a/app/dts/bindings/behaviors/zmk,behavior-toggle-layer.yaml
+++ b/app/dts/bindings/behaviors/zmk,behavior-toggle-layer.yaml
@@ -6,3 +6,13 @@ description: Toggle Layer
compatible: "zmk,behavior-toggle-layer"
include: one_param.yaml
+
+properties:
+ toggle-mode:
+ type: string
+ required: false
+ default: "flip"
+ enum:
+ - "on"
+ - "off"
+ - "flip"