aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/dts
diff options
context:
space:
mode:
Diffstat (limited to 'app/dts')
-rw-r--r--app/dts/bindings/behaviors/zmk,behavior-key-toggle.yaml10
-rw-r--r--app/dts/bindings/behaviors/zmk,behavior-toggle-layer.yaml10
2 files changed, 20 insertions, 0 deletions
diff --git a/app/dts/bindings/behaviors/zmk,behavior-key-toggle.yaml b/app/dts/bindings/behaviors/zmk,behavior-key-toggle.yaml
index e3ec86f7a1..7e465e88b6 100644
--- a/app/dts/bindings/behaviors/zmk,behavior-key-toggle.yaml
+++ b/app/dts/bindings/behaviors/zmk,behavior-key-toggle.yaml
@@ -6,3 +6,13 @@ description: Key toggle behavior
compatible: "zmk,behavior-key-toggle"
include: one_param.yaml
+
+properties:
+ toggle-mode:
+ type: string
+ required: false
+ default: "flip"
+ enum:
+ - "on"
+ - "off"
+ - "flip"
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"