VOGONS


DOSBox Caps lock trouble

Topic actions

First post, by oldwindohsmedosbocks

User metadata
Rank Newbie
Rank
Newbie

I'm using Windows 3.1 in DOSBox and everything works fine. To put caps lock on, I have to press caps lock about 4 times to put it on, and 4 times again to turn it off. It happens with every DOS program I run within DOSBox but not in my actual computer. How do I fix it? Thanks a lot.

Reply 1 of 2, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

You can try changing the parameter usescancodes in the configuration file, but it might be a bug in 0.74 as the lock key handling had some problems.

Water flows down the stream
How to ask questions the smart way!

Reply 2 of 2, by ripa

User metadata
Rank Oldbie
Rank
Oldbie

Try using one or both of these environment variables:
SDL_DISABLE_LOCK_KEYS=1
SDL_VIDEODRIVER=windib

Also, SDL_DISABLE_LOCK_KEYS requires a SDLdll 1.2.14 or later (Dosbox ships with a customized 1.2.13).