Set modifiers in a non-reactive manner
This should prevent modifier keys from getting 'stuck'. I don't know exactly how modifiers come to be stuck. But I've experienced it on multiple occasions. I've also seen reports of shift becoming stuck--mistaken for caps lock--becoming difficult to deduce.
Merge request reports
Activity
Does this code work for console window events (i.e. those of type
ev_console
)? IIRC the console window for dedicated mode handles key input somewhat differently, may not even involve SDL at all.Btw, a console window can be made to pop up alongside the main SRB2 one if you use the
-console
param, where you can see what happens in-game when you do something in the species window. That might be useful for testing what I'm on about.mentioned in commit 8a144274
Why did SOMEONE not check with the buildbots for this? https://circleci.com/gh/STJr/SRB2/963