diff options
author | KemoNine <mcrosson@users.noreply.github.com> | 2021-02-03 23:33:09 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-03 23:33:09 -0500 |
commit | cd503ed17bb141bd54a777a375b5706acf884318 (patch) | |
tree | 2e9095fad05e8eb0d0545e0a662aca2d6b3084f6 /docs | |
parent | 9205ea1c705504844ad3b9e31d6fbd437cb76aba (diff) |
Feat combo layers (#661)
feat(combos): add layer filtering
Co-authored-by: KemoNine <mcrosson@kemonine.info>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/docs/features/combos.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/docs/features/combos.md b/docs/docs/features/combos.md index 845bb01..653fc6e 100644 --- a/docs/docs/features/combos.md +++ b/docs/docs/features/combos.md @@ -18,6 +18,7 @@ Combos configured in your `.keymap` file, but are separate from the `keymap` nod timeout-ms = <50>; key-positions = <0 1>; bindings = <&kp ESC>; + layers = <-1>; }; }; }; @@ -27,6 +28,7 @@ Combos configured in your `.keymap` file, but are separate from the `keymap` nod - The `compatible` property should always be `"zmk,combos"` for combos. - `timeout-ms` is the number of milliseconds that all keys of the combo must be pressed. - `key-positions` is an array of key positions. See the info section below about how to figure out the positions on your board. +- `layers = <0 1...>` will allow limiting a combo to specific layers. this is an _optional_ parameter and defaults to `-1` which is global scope. - `bindings` is the behavior that is activated when the behavior is pressed. - (advanced) you can specify `slow-release` if you want the combo binding to be released when all key-positions are released. The default is to release the combo as soon as any of the keys in the combo is released. |