VOGONS


First post, by Darkfalz

User metadata
Rank Member
Rank
Member

In several games, hitting CAPS LOCK "breaks" the keyboard (it no longer takes input inside DOSBox). You can of course hit Alt-Enter and quit the emulator by clicking the close button, but that's about it.

It's a real bugger too because there's no way to save your game at this point.

Two games I have confirmed it on:

Gold Rush (early Sierra game)
Ultima VI

Reply 1 of 1, by taiken7

User metadata
Rank Member
Rank
Member

Not sure if this will help,
But if you replace the code in src/gui/sdlmain.cpp

/* Special Keys */
default:
code=KBD_1;
LOG(LOG_KEYBOARD,LOG_ERROR)("Unhandled SDL keysym %d"...
break;

[change:]
code=KBD_1;
[to something like]
code=KBD_leftshift;

Then it will still report keyboard errors,
but instead of "1's" the buffer will recieve eg Left-shift's.