Skip to content

Held keys are not restored after releasing another held key / Multiple held keys are not displayed #1010

Description

@Voidsp4rk

描述 Bug

Description

I've noticed an issue with keyboard input when holding multiple keys.

When I hold one key and then press another, BongoCat only recognizes the most recently pressed key. After releasing that key, the first key is still physically held down, but BongoCat no longer recognizes it until I release and press it again.

Steps to reproduce

  1. Press and hold A.
  2. While still holding A, press and hold D.
  3. Release D while continuing to hold A.

Expected behavior

  • Both A and D should be highlighted while they are both held.
  • After releasing D, A should remain highlighted because it is still physically held down.
  • The application should continuously track the current keyboard state instead of only reacting to the latest key press.

Actual behavior

  • Only the last pressed key (D) is highlighted.
  • A is no longer shown as pressed after D is released, even though it is still being held.
  • A is only recognized again after I physically release it and press it again.

Feature request

It would be great if BongoCat could support multiple simultaneously held keys.

For example:

  • Hold A + D → both keys should be blue.
  • Hold W + Shift → both keys should be blue.
  • Hold any combination of keys → every currently pressed key should remain highlighted until it is actually released.

This would make the keyboard visualization more accurate for gaming.

Environment

  • OS: Windows 10
  • Downloaded from the official GitHub releases
  • Keyboard functions correctly in other applications and keyboard testing tools.
  • The issue appears to be specific to BongoCat's keyboard input handling.

重现步骤

No response

预期行为

No response

软件信息

{
  "appName": "BongoCat",
  "appVersion": "1.1.0",
  "tauriVersion": "2.10.3",
  "platform": "windows",
  "platformArch": "x86_64",
  "platformVersion": "10.0.19045"
}

附加信息

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions