qmk/qmk_firmware

[Bug] Teensy 2.0 handwired pad key stuck after Windows resumes from sleep

Open

#19,871 建立於 2023年2月17日

在 GitHub 查看
 (5 留言) (0 反應) (0 負責人)C (43,867 fork)batch import
bughelp wanted

倉庫指標

Star
 (20,368 star)
PR 合併指標
 (平均合併 20天 9小時) (30 天內合併 27 個 PR)

描述

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


Ψ QMK Doctor is checking your environment.
Ψ CLI version: 1.1.0
Ψ QMK home: D:/qmk
Ψ Detected Windows 10 (10.0.19044).
Ψ Git branch: master
Ψ Repo version: 0.19.12
Ψ - Latest master: 2023-02-17 00:30:24 +0800 (beb9fcb8bc) -- [Keyboard] Add Quarkeys Z40 keyboard (#19741)
Ψ - Latest upstream/master: 2023-02-17 07:29:22 +0100 (92ea53aeda) -- Added via keymap for bpiphany/pegasushoof (#19653)
Ψ - Latest upstream/develop: None
Ψ - Common ancestor with upstream/master: 2023-02-17 00:30:24 +0800 (beb9fcb8bc) -- [Keyboard] Add Quarkeys Z40 keyboard (#19741)
Ψ - Common ancestor with upstream/develop: None
Ψ All dependencies are installed.
Ψ Found arm-none-eabi-gcc version 10.1.0
Ψ Found avr-gcc version 8.5.0
Ψ Found avrdude version 6.4
Ψ Found dfu-util version 0.11
Ψ Found dfu-programmer version 0.7.2
Ψ Submodules are up to date.
Ψ Submodule status:
Ψ - lib/chibios: 2022-09-18 10:01:17 +0000 --  (0e9d558b5)
Ψ - lib/chibios-contrib: 2022-10-03 18:09:41 +0200 --  (bb8356fb)
Ψ - lib/googletest: 2021-06-11 06:37:43 -0700 --  (e2239ee6)
Ψ - lib/lufa: 2022-08-26 12:09:55 +1000 --  (549b97320)
Ψ - lib/pico-sdk: 2022-09-19 18:02:44 +0200 --  (8d56ea3)
Ψ - lib/printf: 2022-06-29 23:59:58 +0300 --  (c2e3b4e)
Ψ - lib/vusb: 2022-06-13 09:18:17 +1000 --  (819dbc1)
Ψ QMK is ready to go

Is AutoHotKey / Karabiner installed

  • AutoHotKey (Windows)
  • Karabiner (macOS)

Other keyboard-related software installed

No response

Additional Context

Perhaps related to https://github.com/qmk/qmk_firmware/issues/19600 and/or https://github.com/qmk/qmk_firmware/issues/16969 ?

貢獻者指南