qmk/qmk_firmware

[Bug] Key behave as if it was stuck and repeats the last typed letter

Open

#19,254 opened on 2022年12月7日

GitHub で見る
 (16 comments) (2 reactions) (0 assignees)C (43,867 forks)batch import
bughelp wanted

Repository metrics

Stars
 (20,368 stars)
PR merge metrics
 (平均マージ 20d 9h) (30d で 27 merged PRs)

説明

Describe the Bug

When typing, the keyboard sometimes behaves as if a key was pressed and held. It sends a signal to the PC until I click any key or disconnect a receiver. I think it's not a hardware problem because I've tried turning off the keyboard once the bug appeared and it was still sending the signal to PC until I disconnected a receiver.

The bug is hard to reproduce and I'm not sure what causes it. I think that it might be related to pressing multiple keys at the same time. What's interesting, is that my keyboard sometimes works perfectly and then it gets into a state where it's more likely to enter the bug. Restarting the keyboard/receiver doesn't help to get out of the "increased likelihood of bug state". After some time it gets fixed by itself.

Right before the bug is triggered, when I'm typing, it hangs for ~1s(nothing is typed into PC even though I'm pressing keys) and it starts repeating the last pressed key. It looks similar to the behaviour on the video attached to the https://github.com/qmk/qmk_firmware/issues/18805 issue, but the difference in my case is that I can see constantly the typed characters until the freeze, after which the last key starts to repeat.

I'm not sure whether it's a problem with qmk_firmware of any of qmk tooling or with my setup. I'm not sure how to debug it. Any advice?

Keyboard Used

redox_w

Link to product page (if applicable)

redox wireless

Operating System

Edition Windows 10 Enterprise Version 21H2 Installed on ‎3/‎10/‎2022 OS build 19044.2251 Experience Windows Feature Experience Pack 120.2212.4180.0

qmk doctor Output

❯ qmk doctor
Ψ QMK Doctor is checking your environment.
Ψ CLI version: 1.1.0
Ψ QMK home: /home/sg315781/qmk_firmware
Ψ Detected Linux (WSL).
Ψ Git branch: master
Ψ Repo version: 0.19.2
⚠ Git has unstashed/uncommitted changes.
⚠ The official repository does not seem to be configured as git remote "upstream".
Ψ All dependencies are installed.
Ψ Found arm-none-eabi-gcc version 9.2.1
Ψ Found avr-gcc version 5.4.0
Ψ Found avrdude version 6.3-20171130
Ψ Found dfu-util version 0.9
Ψ Found dfu-programmer version 0.6.1
Ψ 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, but minor problems were found 

Is AutoHotKey / Karabiner installed

  • AutoHotKey (Windows)
  • Karabiner (macOS)

Other keyboard-related software installed

None

Additional Context

qmk --version = 1.1.0 qmk_firmware: commit 2709b6ed616f8012ff4cfd3ee69a822a8d188351

My keyboard config: https://github.com/jakubgros/redox_wireless

I'm putting a symbolic link into the qmk_firmware/keyboards/redox_w directory, build it using compile.sh script from the repository and flash the keyboard using the qmk_toolbox.exe.

コントリビューターガイド