-
-
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] Teensy 2.0 handwired pad key stuck after Windows resumes from sleep #19871
Comments
I have the same issue with the same board, the other merged solutions did not resolve it for this board. |
does adding |
I'm AFK (literally) for the next few days but I'll try that as soon as possible and get back to you. Thanks for the suggestion. |
Sorry it took me so long to test the setting and answer but yes, it appears that the USB_SUSPEND_WAKEUP_DELAY option fixes it. |
Ok, update: it does not work. At least, not consistently. My previous comment was made after putting the PC to sleep myself, from the start menu. Then re-awakened it within a few seconds of it turning off (a.k.a. sleep). Then everything seemed normal. But after the PC goes to sleep after a period of inactivity, same things happen, which means keys still get stuck apparently randomly. I've even had a keypad (with an Enter key) get stuck after I pressed the Enter key, but it did NOT wake up the PC. I had to press a button on a different keypad/board to wake up the PC, but the Enter key on the first keypad was still stuck! For the record, the keypads are all connected through a powered USB hub, so they don't need PC power to turn on. |
Describe the Bug
I have a number of custom (self-made) keypads, all with my own QMK keyboard code and layouts. There is a problem when Windows resumes from sleep. After pressing a key on one of the keypads, which causes the computer to wake up, the key that I pressed on the keypad will remain pressed until I press any key (the same or other) on that pad. For instance, if I press [left arrow], I can't input the Windows PIN because the cursor is always moving to the left. If it's some other key, I either get spammed by keypresses, or if it's some modifier key, I'll log in but then it's pressed all the time, until I press any key on that particular keyboard.
I've seen it happen on three of my custom pads.
I'm on the latest, but it happened even before updating the master.
Keyboard Used
Teensy 2.0 hand-wired (multiple)
Link to product page (if applicable)
No response
Operating System
Windows 10 22H2
qmk doctor Output
Is AutoHotKey / Karabiner installed
Other keyboard-related software installed
No response
Additional Context
Perhaps related to #19600 and/or #16969 ?
The text was updated successfully, but these errors were encountered: