fix docs
This commit is contained in:
parent
dbb31cbbe7
commit
82504a6265
1 changed files with 2 additions and 7 deletions
|
@ -99,13 +99,8 @@ If this config does not work for you, try the flavor "balanced" with a medium `t
|
||||||
|
|
||||||
* Including `hold-trigger-key-postions` in your hold-tap behavior definition enables the positional hold-tap feature.
|
* Including `hold-trigger-key-postions` in your hold-tap behavior definition enables the positional hold-tap feature.
|
||||||
* With positional hold-tap enabled, your hold-tap behavior will only produce a hold behavior if, while the hold-tap key is still held down, the next key to be pressed is at one of the positions listed in the `hold-trigger-key-postions` array.
|
* With positional hold-tap enabled, your hold-tap behavior will only produce a hold behavior if, while the hold-tap key is still held down, the next key to be pressed is at one of the positions listed in the `hold-trigger-key-postions` array.
|
||||||
* `hold-trigger-key-postions` is an array of key positions. See the info section below about how to figure out the positions of keys on your board.
|
* `hold-trigger-key-postions` is an array of key positions indexes. Key positions are numbered / indexed according to the keys in your keymap, starting at 0. So, if the first key in your keymap is Q, this key is in position 0. The next key (possibly W) will have position 1, et cetera.
|
||||||
:::info
|
* See the following example, which references the below hold-tap behavior definition:
|
||||||
|
|
||||||
Key positions are numbered according to the keys in your keymap, starting at 0. So, if the first key in your keymap is Q, this key is in position 0. The next key (possibly W) will have position 1, et cetera.
|
|
||||||
|
|
||||||
:::
|
|
||||||
* See the following example, which references the below hold-tap behavior definiton:
|
|
||||||
|
|
||||||
```
|
```
|
||||||
#include <dt-bindings/zmk/keys.h>
|
#include <dt-bindings/zmk/keys.h>
|
||||||
|
|
Loading…
Add table
Reference in a new issue