aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/dts
diff options
context:
space:
mode:
authorOkke Formsma <[email protected]>2021-01-31 21:37:57 +0100
committerPete Johanson <[email protected]>2021-02-02 15:28:16 -0500
commit9a7908b6324181403836908e90754146fb7f0b5b (patch)
tree59821b1f4b4821e559246c0fc72a582b43769624 /app/dts
parent6c7ab0ce53ec75394eaa84ae303d725300cb1f45 (diff)
downloadzmk-9a7908b6324181403836908e90754146fb7f0b5b.tar.gz
zmk-9a7908b6324181403836908e90754146fb7f0b5b.zip
behaviors(hold-tap): Implement quick_tap_ms (TAPPING_FORCE_HOLD)
Tap-and-hold a hold-tap to hold the tap behavior so it can repeat. After a tap, if the same key is pressed within `quick_tap_ms`, the tap behavior is always picked. This is useful for things like `&ht LSHFT BACKSPACE` where holding the backspace is required. Implements #288.
Diffstat (limited to 'app/dts')
-rw-r--r--app/dts/bindings/behaviors/zmk,behavior-hold-tap.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/dts/bindings/behaviors/zmk,behavior-hold-tap.yaml b/app/dts/bindings/behaviors/zmk,behavior-hold-tap.yaml
index 5f74e9ad78..56f0cc2721 100644
--- a/app/dts/bindings/behaviors/zmk,behavior-hold-tap.yaml
+++ b/app/dts/bindings/behaviors/zmk,behavior-hold-tap.yaml
@@ -13,6 +13,9 @@ properties:
required: true
tapping_term_ms:
type: int
+ quick_tap_ms:
+ type: int
+ default: -1
flavor:
type: string
required: false