Skip to content

Add strict flag for keybinds to prevent key binding clashes#6595

Open
Elpersonn wants to merge 9 commits into
space-wizards:masterfrom
Elpersonn:altgr-ops
Open

Add strict flag for keybinds to prevent key binding clashes#6595
Elpersonn wants to merge 9 commits into
space-wizards:masterfrom
Elpersonn:altgr-ops

Conversation

@Elpersonn
Copy link
Copy Markdown

@Elpersonn Elpersonn commented May 26, 2026

Adds a strictModifiers flag for all keybinds, making it so a keybind with this flag will work only when the specified modifier keys are pressed.

Closes #6592

Copy link
Copy Markdown
Member

@PJB3005 PJB3005 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're never unsetting the flag here.

Honestly it'd probably be better to just figure out how to make the ctrl+a keybind do nothing when ctrl+alt+a is pressed. Maybe a flag to disallow the keybind to trigger if unecessary modifiers are active?

@PJB3005 PJB3005 added A: UI Things like game screens, menus, and windows. Status: Won't Fix T: Bugfix Type: Bugs and/or bugfixes and removed Status: Won't Fix labels May 26, 2026
@Elpersonn Elpersonn changed the title Add virtual altgr keycode to avoid clashing with other keybinds Add strict flag for keybinds to prevent key binding clashes May 27, 2026
@Elpersonn Elpersonn requested a review from PJB3005 May 27, 2026 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A: UI Things like game screens, menus, and windows. T: Bugfix Type: Bugs and/or bugfixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Impossible to type in ą as it deletes the whole input

2 participants