Skip to content

Super key fails to properly unregister, breaking input #2105

Description

@heavyutils

Geode Issue

  • I confirm that this bug is NOT related to a mod but directly to Geode Loader itself.

Platform

Linux

SDK commit

No response

Geode Version

5.7.1

Mods Installed

26 mods, but notably:
Eclipse
Custom Keybinds
Misc Bugfixes

Expected Behavior

When I press Win/Super, and return to the game, it should deregister the held Super key, or just not register it at all, allowing me to perform my keybinds uninterrupted.

Actual Behavior

All Geode's keybinds break. Upon trying to rebind a key in settings (through ANY mod), it thinks I am holding Super as a modifier key. This also does that my set keybinds do not register, leaving only vanilla keybinds working.

Steps to Reproduce

Start GMD and load into the main menu.
Have your Super key configured to open an apps or activities overview depending on DE.
Press Super (or Windows key, if you call it that) while in-game, you see the overview, maybe open a browser or something else.
Now click back to the game. Notice how the Windows key is always held down in the eyes of Geode. Geode Team's own mod Custom Keybinds makes the issue obvious, as it replaces vanilla keybinds, but this is reproducible with any mod changing keybinds and enforcing them strictly.

Additional Information

This is not related to Custom Keybinds or any specific mod per se, but the issue becomes glaring when using the mod, as it (and most other Geode mods) require strict keybindings, therefore not registering if it thinks that Super is held down, likely as the Super key UP event never fires to the game window. VANILLA KEYS WORK FINE; only what Geode overrides gets broken by the "held" Super key.

May or may not be related to Wine 11+, but regardless, it should be possible to tell the game to ignore, and generally, Super shouldn't be treated as a valid modifier key ingame, it's a system key.
I am running GNOME on Wayland.

This bug was not present in GMD 2.206.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions