Skip to content

Fix KeyBoardMap::getKeySymbol() keyModifier logic#56

Open
mk401 wants to merge 1 commit intovsg-dev:masterfrom
mk401:keyboard-map-modifier-fixes
Open

Fix KeyBoardMap::getKeySymbol() keyModifier logic#56
mk401 wants to merge 1 commit intovsg-dev:masterfrom
mk401:keyboard-map-modifier-fixes

Conversation

@mk401
Copy link
Contributor

@mk401 mk401 commented Feb 13, 2026

On key release, QKeyEvent::modifiers() is empty, so the modifier keys are not being cleared correctly when they're released. This change always adds any modifier keys to the modifier mask, which ultimately results in a matching vsg::KeyReleaseEvent when comparing between the one created in Window::keyPressEvent() to the one created in Win32_Window::handleWin32Messages() in VSG proper

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant