[Core] Replace Tapping Force Hold feature with Quick Tap Term#17007
[Core] Replace Tapping Force Hold feature with Quick Tap Term#17007KarlK90 merged 11 commits intoqmk:developfrom
Conversation
7037b65 to
12b2599
Compare
|
@KarlK90 I had to make these changes to retro_tapping/test_tapping.cpp for the unit test to pass this PR. Does the parameter name |
There was a problem hiding this comment.
Do you intentionally avoid implementing an equivalent to ZMK's global quick-tap because it is out-of-scope and in order to keep the PR small or is that planned in the future? I think the name "quick tap" only makes sense in the context of its global version.
12b2599 to
a017ade
Compare
|
78b7cf0 to
48abf9a
Compare
The changes are apparently not needed anymore? I can't tell you much about the test itself though, it was added by @fredizzimo a "long time" ago and I just ported it. |
|
Works as expected on my Polilla (STM32F042) |
470184d to
e1cdcb4
Compare
@KarlK90 Thanks for reviewing again, rebased as requested. |
|
@filterpaper you're rebase unfortunately doesn't contain the changes you did earlier to |
3bc9802 to
f90aacf
Compare
@KarlK90 Rebased and tested against current |
462532f to
b99d9c5
Compare
b99d9c5 to
99137f7
Compare
99137f7 to
97a2ddc
Compare
) * Replace Tapping Force Hold feature with Quick Tap Term * Replace keyboard level TAPPING_FORCE_HOLD with QUICK_TAP_TERM 0 * Deprecate force hold in info_config.json * Before and after quick tap term unit tests * Quick tap unit tests iteration * Keymap config.h correction * Remove TAPPING_FORCE_HOLD_PER_KEY macros that were missed * Add two more test cases for quick tap * Replace TAPPING_FORCE_HOLD with QUICK_TAP_TERM in configs qmk#2 * Replace TAPPING_FORCE_HOLD_PER_KEY with QUICK_TAP_TERM_PER_KEY in configs qmk#2 * Add function declaration for get_quick_tap_term Co-authored-by: Stefan Kerkmann <karlk90@pm.me>
Description
The current
TAPPING_FORCE_HOLDsetting is a binary feature. This change replaces it withQUICK_TAP_TERMthat allows user to fine tune double-tap timing to activate auto-repeat on hold-tap keys.QUICK_TAP_TERMmatchesTAPPING_TERMas default and includes per key support withget_quick_tap_term()function. Parity setting toTAPPING_FORCE_HOLDis#define QUICK_TAP_TERM 0Types of Changes
Checklist