VOGONS


Keymapper help.

Topic actions

First post, by firestorm

User metadata
Rank Newbie
Rank
Newbie

Ok, here is the problem:

The character ":" does not exist in the keymapper.
The documentation about the keymapper is zero.

Can someone tell me how to actually use the keymapper?

Reply 1 of 7, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

You don't remap characters but raw keys.
On the us keyboard the : is on the same key as the ;
so hitting shift-; should give the :

See the readme for non-us keyboard layout usage.

Reply 2 of 7, by firestorm

User metadata
Rank Newbie
Rank
Newbie

The keymapper does not report the right keys in any layout.

For instance, typing "shift" + "." produces ">?"

Ok, so how do i get a key to output ":"

Reply 3 of 7, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Klick on the ; key in the mapper, klick ADD, then hit the key.
Then shift-key (the one you hit) produces :

Reply 4 of 7, by firestorm

User metadata
Rank Newbie
Rank
Newbie

Great, now it produces <:-??,>>,;.

Forget it, lock thread.

Reply 5 of 7, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Hehe delete the mapper file and start over 😀

Maybe you could explain what you want to do (as the : should
be accessible in dosbox for you).

Reply 6 of 7, by MiniMax

User metadata
Rank Moderator
Rank
Moderator

I feel exactly the same about the mapper. I have never been able to figure out how it is supposed to work.

To undo the mapping, just delete the file mapper.txt in your DOSBox folder.

DOSBox 60 seconds guide | How to ask questions
_________________
Lenovo M58p | Core 2 Quad Q8400 @ 2.66 GHz | Radeon R7 240 | LG HL-DT-ST DVDRAM GH40N | Fedora 32

Reply 7 of 7, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

The mapper is there to swap physical keys. The problem comes in
when you don't keep that in mind, that is you want to swap characters.
This does not work, and never will. Games/dos progs work on the
lowest level with key scancodes, so that's the level where stuff can
be changed.
Another level, much higher, is the keyboard layout stuff, but this does
only work if the game supports layouts. If it just reads from port60
you can layout as much as you want, nothing will change.