VOGONS


First post, by RandomDOSUser

User metadata
Rank Newbie
Rank
Newbie

I have been having trouble getting my joysticks to map keys correctly, and i've tried using Joy2Key and the MK2 program, but both are less than stellar. This old JoyEMU program looks like it would work great, and it seems like it can save settings, so when I launch a dos game I could batch process this program to load the joysticks' key mapping for each specific game.

The program does detect my two USB Joysticks, but it will not load into memory. The compatibility program failed to work correctly. Are there any DOSBox settings to get it to work?

Reply 1 of 7, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Does it show any error message?

Reply 2 of 7, by ADDiCT

User metadata
Rank Oldbie
Rank
Oldbie

RandomDOSUser, your post is a little confusing. What exactly is it you want to do? Are your Joysticks detected by DOSBox? If they are, you should see something like "Using joystick XBCD XBox Gamepad with 6 axes and 24 buttons" in the DOSBox Status Window. If this isn't happening, you could try to remove one of the Joysticks, and retry.

Are you aware of the "Mapper" screen inside DOSBox? It can be accessed by pressing "CTRL-F1", and will allow the mapping of keys and Joystick controls. The maps can be saved, and loaded later to activate specific configurations (see the readme for details). With the mapper, it should be possible to handle all possible configurations. For example, i've mapped many of the keyboard commands of "TIE Fighter" and "Tomb Raider" to Joystick buttons, and it works like a charm. If you want to use more than 4 buttons on your Joystick, you have to set "buttonwrap=false" in dosbox.conf.

If you really want to use an external application for mapping, i'd suggest you try out Xpadder. I have recently found this application, and i think it's the best in it's field. It may look a little complicated at first, but it really isn't that hard to setup.

Reply 3 of 7, by RandomDOSUser

User metadata
Rank Newbie
Rank
Newbie

I'll try the suggestions, thanks for the reply 😀

Reply 4 of 7, by RandomDOSUser

User metadata
Rank Newbie
Rank
Newbie

Xpadder works superbly!

Just one more question - is there a way to disable joystick emulation in dosbox? Setting the joysticktype=none doesn't seem to prevent games from detecting and using joysticks...

Reply 5 of 7, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

it should prevent it, could you name the games in question ?

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

Reply 6 of 7, by speon

User metadata
Rank Newbie
Rank
Newbie

I'm encountering some oddities regarding a joystick in DOSBox and was wondering if anyone could confirm them...

By default, my config file is set as JOYSTICKTYPE=AUTO, and all the games I have installed are fine with this setting, and recognize the device OK.

However, if I manually change this setting within DOSBox, by typing JOYSTICKTYPE=2AXIS, 4AXIS, AUTO etc., the joystick will no longer be recognized by any program, regardless of the setting. Using the arguments CONFIG -SET JOYSTICKTYPE= have the same effect.

Only by closing and re-opening DOSBox can I get the joystick to be recognized again. I'm using a USB Logitech rumblepad, if it makes any difference.

Thanks.

Last edited by speon on 2007-07-04, 10:00. Edited 2 times in total.

Reply 7 of 7, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

possibly. Mapper related things (under which the joystick falls) can currently not be changed correctly during runtime.
Nothing you can do about it.

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