Created
January 15, 2018 07:10
-
-
Save typester/38cc078b38e71ea1c09da7a58e656de0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/tmk_core/common/action_tapping.c b/tmk_core/common/action_tapping.c | |
| index 531a3ca34..0f3596f59 100644 | |
| --- a/tmk_core/common/action_tapping.c | |
| +++ b/tmk_core/common/action_tapping.c | |
| @@ -149,7 +149,8 @@ bool process_tapping(keyrecord_t *keyp) | |
| debug("Tapping: Tap release("); debug_dec(tapping_key.tap.count); debug(")\n"); | |
| keyp->tap = tapping_key.tap; | |
| process_record(keyp); | |
| - tapping_key = *keyp; | |
| + /* always reset tap timer when tap release */ | |
| + tapping_key = (keyrecord_t){}; | |
| debug_tapping_key(); | |
| return true; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment