First post, by ripa
Users have had various problems with right shift. The problems have been solved by using another keyboard driver. This thread isn't about that problem.
In Dosbox on Windows with numlock disabled, if you press right shift and then an arrow key, SDL generates a spurious "keyup" event for right shift. When you release the arrow key, SDL generates a spurious "keydown" for shift.
This affects games like Liero, if, e.g., you use shift for firing and arrows for moving or aiming. If you're firing (pressing the firing key down continuously) and you move or aim at the same time, firing stops. I was baffled by this behavior, until I found out it was the combination of RSHIFT, arrows and numlock.
Two workarounds:
- enable numlock
- use SDL_VIDEODRIVER=windib environment variable (worse solution since this disables ddraw output in Dosbox)
edit: I have a PS/2 keyboard. It'd be nice to know if this affects those with USB keyboards. You can use Star Control's KEYS.EXE "keyjammer" to test this.