From 4ef231f4bba87151acfbd1cf3babd83b69813e45 Mon Sep 17 00:00:00 2001 From: Nicolas Munnich <98408764+Nick-Munnich@users.noreply.github.com> Date: Fri, 13 Dec 2024 00:13:56 +0000 Subject: 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 --- app/dts/bindings/behaviors/zmk,behavior-key-toggle.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'app/dts/bindings/behaviors/zmk,behavior-key-toggle.yaml') 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" -- cgit v1.2.3