VOGONS


First post, by XenonSurf

User metadata
Rank Newbie
Rank
Newbie

Hi,

I use Dosbox for years now, getting most games running with the newest versions. Congrats to all developers 😎

Currently using 0.74.
I have a flight sim game (EF2000) that has very special keyboard commands for switching views inside the cockpit: SHIFT+UP, SHIFT+DOWN etc..

I know that with CTRL+F1 you can access the mapper of Dosbox, also well explained in the readme. I succeed without problems to redirect a single key to the joystick hat after chosing fcs as a joystick.
But is it possible to assign for example SHIFT + UP ARROW to the hat?

Thanks a lot for any feedback !

XenonS

Reply 1 of 9, by robertmo

User metadata
Rank l33t++
Rank
l33t++

you can assign as many keys as you want 😀

Reply 2 of 9, by XenonSurf

User metadata
Rank Newbie
Rank
Newbie

Hi robertmo,

ok, so how do you assign SHIFT + UP ARROW in order to use just the coolie UP instead of SHIFT+UP ?

XenonS

Last edited by XenonSurf on 2010-09-17, 20:19. Edited 1 time in total.

Reply 3 of 9, by robertmo

User metadata
Rank l33t++
Rank
l33t++

same way as one key, just don't remove the old one, so it is actually easier 😉

Reply 4 of 9, by XenonSurf

User metadata
Rank Newbie
Rank
Newbie

Thanks robertmo. Will retry this out immediately, but i think this will only work when hitting SHIFT and using UP on the coolie.

Greets,
XenonS

Reply 5 of 9, by XenonSurf

User metadata
Rank Newbie
Rank
Newbie

Me again,

It works !!
I had to set all collie hat directions for the shift AND the right ones for the arrow keys

Thanks a lot 😎

XenonS

Reply 6 of 9, by Leolo

User metadata
Rank Member
Rank
Member

Mmm, I think this feature (mapping a two-key combination to a joystick button) isn't very obvious. I couldn't find it at first.

It would be nice to have an example of how to do it in the readme.txt included with dosbox.

I think it's not completely clear to the user that he/she has to add a bind to the same button TWICE, in two different keys (the ones that he/she wants to be pressed at the same time)

Also, the manual is quite misleading in the description of the emulated joysticks. It says that you can only use 3 axis with the FCS, but that's not completely true.

It's possible to use all 4 axis of your joystick by mapping the fourth axis to some keys.

I find it really strange that the keymapper hides some of the available axis of your real joystick depending on what kind of joystick is being emulated.

That's annoying, because you lose several axis of your real joystick and cannot map them to useful keys when the emulation is set to "2axis".

Why is that? Dosbox should take advantage of all the features of my real joystick and let me remap all my axis, regardless of which particular joystick is emulating internally.

Reply 7 of 9, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Why is that?

To not screw up everything if a different type of joystick(s) is plugged in.
But feel free to post fully-tested working patches.

Reply 8 of 9, by Leolo

User metadata
Rank Member
Rank
Member

Aahm, sorry, I wasn't aware of that. I was under the impression that the mapper file had to be recreated from scratch whenever the real joystick changed.

The problem is more complex than I thought, then.

Reply 9 of 9, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

I was under the impression that the mapper file had to be recreated from scratch whenever the real joystick changed.

In the first place it was tried to design it so swapping joystick(s) or adding
a joystick to a previously keyboard only layout but with joysticktype!=none
was possible, but don't know if it fully works now. Resetting the mapper file
may be required/surely doesn't hurt.