modified : docs/docs/behaviors/layers.md

Added documentation details for layer-tap.
This commit is contained in:
BouleJaune 2023-10-04 15:55:09 +02:00
parent 11996ff7f0
commit 7aec0d799e

View file

@ -57,6 +57,22 @@ Example:
&lt LOWER SPACE
```
### Configuration
You can configure a different tapping term in your keymap or others options from the [hold-tap](hold-tap.md#advanced-configuration) documentation page:
```
&lt {
tapping-term-ms = <200>;
};
/ {
keymap {
...
};
};
```
:::info
Functionally, the layer-tap is a [hold-tap](hold-tap.md) of the ["tap-preferred" flavor](hold-tap.md/#flavors) and a [`tapping-term-ms`](hold-tap.md/#tapping-term-ms) of 200 that takes in a [`momentary layer`](#momentary-layer) and a [keypress](key-press.md) as its "hold" and "tap" parameters, respectively.