From 9a7908b6324181403836908e90754146fb7f0b5b Mon Sep 17 00:00:00 2001 From: Okke Formsma Date: Sun, 31 Jan 2021 21:37:57 +0100 Subject: 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. --- app/tests/hold-tap/hold-preferred/5-quick-tap/events.patterns | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 app/tests/hold-tap/hold-preferred/5-quick-tap/events.patterns (limited to 'app/tests/hold-tap/hold-preferred/5-quick-tap/events.patterns') diff --git a/app/tests/hold-tap/hold-preferred/5-quick-tap/events.patterns b/app/tests/hold-tap/hold-preferred/5-quick-tap/events.patterns new file mode 100644 index 0000000..fdf2b15 --- /dev/null +++ b/app/tests/hold-tap/hold-preferred/5-quick-tap/events.patterns @@ -0,0 +1,4 @@ +s/.*hid_listener_keycode/kp/p +s/.*mo_keymap_binding/mo/p +s/.*on_hold_tap_binding/ht_binding/p +s/.*decide_hold_tap/ht_decide/p \ No newline at end of file -- cgit v1.2.3