-
-
Notifications
You must be signed in to change notification settings - Fork 39.8k
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
[Bug] Reset function for Tap Dance skipped when multiple Tap Dance keys are used #13764
Comments
A previous version of my Ploopy keymap will demonstrate this bug: https://github.com/bmijanovich/qmk_firmware/blob/ee6e4bceb67b799bf7d6c5cfa769d684990fbc84/keyboards/ploopyco/trackball/keymaps/bmijanovich/keymap.c |
Tap dances doesn't handle interrupts well, so it's not processing the "hold" part most likely, but instead, the tap part. |
Any suggestions for working around this with the advanced tap dance
callback functions?
…On Mon, Aug 9, 2021, 2:36 AM Drashna Jaelre ***@***.***> wrote:
Tap dances doesn't handle interrupts well, so it's not processing the
"hold" part most likely, but instead, the tap part.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#13764 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAMRIPY4HWJQO2FQDATDWGTT35ZO7ANCNFSM5BFDUZIA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
|
I had the same issue trying to create a tap dance key on the non-base layer of my Ploopy Classic Trackball. The issue seems to be caused by overwriting your keymap's static variable for the tap dance state ( Since I was using I doubt this would work with |
You could test against #16394. The reset logic was cleaned up a bit and indeed there were some subtle issues with keeping track of the 'active' tap dance that got fixed. |
I'm fairly sure this can be closed now that #16394 is merged. |
Describe the Bug
This is hard to describe, apologies up front. Say we have the following scenario:
TAPPING_TERM
expiryThen, quickly perform the following, maybe using a rolling motion:
TD_KEY_1
TD_KEY_2
TD_KEY_1
TD_KEY_2
What I would expect is for
FOO
to execute, and to end up in Layer 0. Instead, sometimesFOO
executes and sometimes it doesn't, and I often end up stuck in Layer 2 until I tapTD_KEY_2
again.This behavior works fine if you use a non-Tap Dance keycode on key 2 on Layer 0.
System Information
N/A, using QMK Docker container
N/A, using QMK Docker container
0.13.26
No
The text was updated successfully, but these errors were encountered: