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.
This commit is contained in:
Okke Formsma
2021-01-31 21:37:57 +01:00
committed by Pete Johanson
parent 6c7ab0ce53
commit 9a7908b632
15 changed files with 142 additions and 1 deletions

View File

@@ -10,6 +10,7 @@
#binding-cells = <2>;
flavor = "balanced";
tapping_term_ms = <300>;
quick_tap_ms = <200>;
bindings = <&kp>, <&kp>;
};
};