Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Controller mapping fixes #17412

Merged
merged 2 commits into from
May 5, 2023
Merged

Controller mapping fixes #17412

merged 2 commits into from
May 5, 2023

Conversation

hrydgard
Copy link
Owner

@hrydgard hrydgard commented May 5, 2023

Fix an issue where stray KEY_UP events could confuse the control mapper into setting empty events.

This had some not-so-good consequences, like inability to map anything in VR (due to code spamming mouse-wheel key_up events), and sometimes empty MultiMappings would result that we could end up asserting on before the previous commit. Replaced the assert with log, and add paranoia-level checks, too.

Fixes #17411

…er into setting empty events

This had some not-so-good consequences, like inability to map anything
in VR, and sometimes empty MultiMappings would result that we could end
up asserting on before the previous commit.
@hrydgard hrydgard added the Input/Controller Input and controller issues label May 5, 2023
@hrydgard hrydgard added this to the v1.15.3 milestone May 5, 2023
@hrydgard hrydgard merged commit fea78f9 into master May 5, 2023
@hrydgard hrydgard deleted the controller-mapping-fixes branch May 5, 2023 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Input/Controller Input and controller issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mapping d-pad arrows causes some trouble
1 participant