Skip to content

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

hrydgard added 2 commits May 5, 2023 22:26
…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

2 participants