-
-
Notifications
You must be signed in to change notification settings - Fork 39.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Core] Replace Tapping Force Hold feature with Quick Tap Term #17007
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM now! Thanks.
) * 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 <[email protected]>
Description
The current
TAPPING_FORCE_HOLD
setting is a binary feature. This change replaces it withQUICK_TAP_TERM
that allows user to fine tune double-tap timing to activate auto-repeat on hold-tap keys.QUICK_TAP_TERM
matchesTAPPING_TERM
as default and includes per key support withget_quick_tap_term()
function. Parity setting toTAPPING_FORCE_HOLD
is#define QUICK_TAP_TERM 0
Types of Changes
Checklist