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
This commit is contained in:
parent
7013158a67
commit
4ef231f4bb
23 changed files with 346 additions and 16 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue