From f517261e852b52b7ee3684be3b1e0fdff0c1db66 Mon Sep 17 00:00:00 2001 From: crd Date: Mon, 22 Feb 2021 17:35:45 -0800 Subject: [PATCH] Add some clarity about enabling quick tap --- docs/docs/behaviors/hold-tap.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/docs/docs/behaviors/hold-tap.md b/docs/docs/behaviors/hold-tap.md index 13261140..f2abfee0 100644 --- a/docs/docs/behaviors/hold-tap.md +++ b/docs/docs/behaviors/hold-tap.md @@ -45,6 +45,27 @@ Defines how long a key must be pressed to trigger Hold behavior. If you press a tapped hold-tap again within `quick_tap_ms` milliseconds, it will always trigger the tap behavior. This is useful for things like a backspace, where a quick tap+hold holds backspace pressed. Set this to a negative value to disable. The default is -1 (disabled). +The simplest way to enable this functionality would be to set the value to a positive integer at the root of your personal keymap definition (not nested under any `/` node). + +``` +#include +#include + +< { quick_tap_ms = <200>; }; + +/ { + keymap { + compatible = "zmk,keymap"; + + default_layer { + bindings = < + < 1 BKSP < 1 SPC + >; + }; + }; +}; +``` + In QMK, unlike ZMK, this functionality is enabled by default, and you turn it off using `TAPPING_FORCE_HOLD`. #### Home row mods