VOGONS

Common searches


First post, by Guest

User metadata

I'm having a problem where the Left Shift and Right Shift keys are not emulated properly.

Pressing either Shift key results in the keycode for the Left Shift key.

Reply 8 of 8, by Guest

User metadata

Well, i had the same problem. I solved it in a quite "hackish" way, by downloading the Dosbox Source Code and modifying it. It isn't as complicated as it may sound. You only have to change one line in "src/gui/sdlmain.cpp"
I remapped the "-" key to be the rightshift key by changing

	case SDLK_MINUS:code=KBD_minus;break;

into

	case SDLK_MINUS:code=KBD_rightshift;break;

Of course you can remap any other non important key.
Recompile ( Linux/MacOS: ./configure, make, make install <-- you need to be root to do that ) and you have a special version of dosbox, which should resolve your problem.