From 7aec0d799e6422c00459c87d3a54bc46a62c87ad Mon Sep 17 00:00:00 2001 From: BouleJaune Date: Wed, 4 Oct 2023 15:55:09 +0200 Subject: [PATCH] =?UTF-8?q?=09modified=C2=A0:=20=20=20=20=20=20=20=20=20do?= =?UTF-8?q?cs/docs/behaviors/layers.md=20Added=20documentation=20details?= =?UTF-8?q?=20for=20layer-tap.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/docs/behaviors/layers.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/docs/behaviors/layers.md b/docs/docs/behaviors/layers.md index cf793089..df4233ed 100644 --- a/docs/docs/behaviors/layers.md +++ b/docs/docs/behaviors/layers.md @@ -57,6 +57,22 @@ Example: < 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: + +``` +< { + 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.