Skip to content

Commit

Permalink
feat(docs): Add configuration snippet for layer-taps
Browse files Browse the repository at this point in the history
  • Loading branch information
BouleJaune authored and allymparker committed Oct 6, 2023
1 parent 7d4fa31 commit db7b3d6
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docs/docs/behaviors/layers.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,22 @@ Example:
&lt LOWER SPACE
```

### Configuration

You can configure a different tapping term or tweak other properties noted in the [hold-tap](hold-tap.md#advanced-configuration) documentation page in your keymap:

```
&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.

Expand Down

0 comments on commit db7b3d6

Please sign in to comment.