-
-
Notifications
You must be signed in to change notification settings - Fork 39.2k
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
Mod Tap or Tap Dance requires two taps to initiate #16855
Comments
I've experienced the same issue with my cantor. The problem can often (but not always) be triggered by putting my Mac to sleep for a few minutes. I think I may have also seen it once or twice during active use of the computer. I was able to reproduce the issue with a variant of the very basic default cantor keymap that has one of the keys changed to a mod tap key. I have tried both the I have also tried capturing debug logs by enabling console, enabling debug, and defining |
Thats exactly whats happening. Glad to hear I'm not the only one experiencing this issue. For Tap Dance I can activate a single tap on the spacebar by pressing a modifier right before. So I tap CMD once and tap spacebar right after and it counts as a tap. Pressing again by itself or with a letter does not seem to do anything. I believe this might a blackpill issue just with the other PR I linked as for that it was the result of the microcontroller. Also on the mac login screen the tap works as it should, and then after logging in it goes back to not working. |
I am also relieved it's not just me since the issue seems somewhat obscure. Although my keymap has a tap dance key, I don't normally have a tap function assigned to it. But based on your comment, for experimentation purposes I assigned Here's the relevant code:
You also need the following in
Finally, one difference in our experiences -- when it occurs, the issue affects me on the login screen after waking up from suspend and persists after logging in. In the password input if I tap the mod tap key, nothing happens. |
Same issue here. I am using a board with a STM32F411 mcu just like the blackpill that cantor uses |
Seems to be the same issue as #16406. |
Describe the Bug
Whenever I use my keyboard again after a while, mod tap or tap dance do not work when tapping once. For mod tap I have to press twice for it to activate atleast once. Also for tap dance I cannot even activate single tap key as I'm only handling the state for single tap and single hold.
For example if I have a mod tap setup to send Control on hold and Z on tap, it will not send Z on the first tap. Instead it would only send after tapping it again for the second time. Hold works perfectly fine in all cases, but tapping does not.
The only way I have managed to find a fix is by unplugging the USB-C cable and replugging it into the microcontroller.
System Information
Keyboard: Cantor
Revision (if applicable):
Operating system: macOS
qmk doctor
output:Any keyboard related software installed?
Additional Context
The Cantor keyboard has not been merged yet into the master branch, however this is the pr for adding it.
And here is my keymap.
There has been another PR with the same issue and microcontroller, but I'm not sure if it stems from the keyboard going to sleep.
The text was updated successfully, but these errors were encountered: