First post, by superfury
I notice that, with my UniPCemu emulator, building it for SDL2 (compared to the normal SDL build) somehow gives some strange caps lock/shift issues. I notice that when booting and starting the MS-DOS prompt, sometimes everything ends up in capital letters (without shift/caps lock being used), while all numbers end up in their alternative forms (which normally happens when shift is pressed), so instead of `1234567890-= I get ~!@#$%^&*()_+, while normal keys like enter etc. simply completely stop working(entering text at the MS-DOS prompt).
Anyone knows if this is actually a SDL2 bug? Or is this a problem in my emulator itself? It looks like it's gotten the shift key stuck? I think the problem itself might be in SDL2, since SDL1.2.15 doesn't exhibit this problem (and uses the exact same input method using SDL_KEYDOWN and SDL_KEYUP events, which has changed from a simple lookup table to a function for decoding pressed keys and encoding them to an universal format that the keyboard emulation understands(104-key keyboard)).
https://bitbucket.org/superfury/unipcemu/src/ … put.c?at=master
Author of the UniPCemu emulator.
UniPCemu Git repository
UniPCemu for Android, Windows, PSP, Vita and Switch on itch.io