Keymapper and Keyboard Layout

General information and assistance with DOSBox.

Keymapper and Keyboard Layout

Postby Shadowblade » 2018-10-13 @ 16:24

I have a UK keyboard configured in DOS Box and for my game, but when I press CTRL+F1, the layout is a US keyboard.

None of the Keymapper functions seem seem to work at all. There is a drop-down menu to select UK keyboard, but nothing happens. It's still a US keyboard. This means that \ is <, £ is #, # is \ and all sorts of other daftitudes and preposterosities.

How do I force DOS Box and the keymapper to use a UK keyboard?

How do I abolish the ALT-F11 and ALT-F12 functions?

a) they are useless as I can use a cheat key if I want the game to run faster
b) ALT-F12 is supposed to toggle turbo run speed, but it doesn't, ALT-F11 does that instead.
c) they are disruptive as ALT-F11 is an actual function in the game. So I want it gone from DOS Box.

Apart from that, it's working great. I already tried restting the config file etc.

I'm running Windows 7 Home Premium 64 bit with DOS Box 0.74.


Cheers!
Shadowblade
Newbie
 
Posts: 23
Joined: 2013-1-04 @ 17:30

Re: Keymapper and Keyboard Layout

Postby Shadowblade » 2018-10-14 @ 03:45

I think I have sorted it out, so for any other UK keyboard users with this problem, here it is.

I was actually using a SVN-Daum build based on DOSBox 0.74, not native 0.74 itself, and I am playing Daggerfall.

I don't know why the CTRL-F1 DOSBox Keymapper has the US keyboard layout, even though it's set for UK layout in:

dosbox-SVN-Daum.conf in C:\Users\<UserName>\AppData\Local\DOSBox

and this is reflected by the commands etc that DOSBox loads in the DOS Window when launching.

Anyway, to remove the Keymapper function from F11, this is what I did:

press CTRL+F1
there is a box of functions and I clicked SPEEDLOCK2 and deleted it, so it's no longer associated with F11.

Now, I can get out of the Void in Daggerfall (YAY!)

For the key between L-SHFT and Z, which on a UK keyboard is \ but on the US layout <>, so I cannot map \ to JUMP in-game.

So I selected the \ key on the US layout (which I think is ~# on the US layout) and set it to be <> in the mapper, which is \ on my keyboard.

So now my \ key now outputs \, and I can map \ to JUMP in-game. Without doing this, when trying to map \ to JUMP in-game, the game thinks I am trying to map < and CTDs.

After doing this, a new file was created called mapper-SVN-Daum.map in

C:\Users\<UserName>\AppData\Local\DOSBox

Beforehand there was no such file and the only tools I have are to reset this mapper-SVN-Daum.map file, which deletes it. I cannot find what DOSBox is using for it's default setup with that pesky US layout, but the file is full of settings for keys, so I assume it is possible to create a UK setup by changing some of the numbers so that " £ | \ @ ' ~ # < > and so are are in the right place.

The mapper-SVN-Daum.map file contains loads of things like

key_k "key 107"
key_l "key 108"
key_backslash "key 60" "key 92"

and some of the Daggerfall functions are stored as well.

I am a total novice at this and maybe I may need a more recent version of the latest DOSBox which is out of beta and ready to roll. Preferably one where I can set the flipping keyboard to use UK by default!

So if anyone can advise, I'd be most grateful.


Cheers!
Shadowblade
Newbie
 
Posts: 23
Joined: 2013-1-04 @ 17:30

Re: Keymapper and Keyboard Layout

Postby Dominus » 2018-10-14 @ 09:58

1st get rid of the existing mapperfile and then use Dosbox 0.74-2 or a straight SVN build of Dosbox. With Daum we have no way to know what else Yhkwong changed and screwed up.
User avatar
Dominus
DOSBox Moderator
 
Posts: 7675
Joined: 2002-10-03 @ 09:54
Location: Ludwigsburg

Re: Keymapper and Keyboard Layout

Postby Shadowblade » 2018-10-14 @ 23:33

OK, cheers, I'll try that.

:)

PS, what is "SVN", anyway? And how would that look different to a straight 0.74-2?

Cheers!
Shadowblade
Newbie
 
Posts: 23
Joined: 2013-1-04 @ 17:30

Re: Keymapper and Keyboard Layout

Postby Dominus » 2018-10-15 @ 05:02

SVN is a versioning system. So when we say SVN we mean the newest code of DOSBox which is not in an actual release yet.
0.74-2 is a stable release that received many fixes from current code but mainly stability fixes for the various Operating Systems. SVN has more code related to how things work in the emulation.
User avatar
Dominus
DOSBox Moderator
 
Posts: 7675
Joined: 2002-10-03 @ 09:54
Location: Ludwigsburg

Re: Keymapper and Keyboard Layout

Postby Shadowblade » 2018-10-15 @ 09:22

OK, cheers.

Where can I find the latest release, or am I just being dumb? I can't seem to find it!

DUH!

EDIT: No worries, I couldn't find it here so I went to https://www.dosbox.com/


Cheers!
Shadowblade
Newbie
 
Posts: 23
Joined: 2013-1-04 @ 17:30


Return to DOSBox General

Who is online

Users browsing this forum: No registered users and 3 guests