VOGONS


Per-game keymaps?

Topic actions

First post, by rrian

User metadata
Rank Newbie
Rank
Newbie

Is is possible to have a separate keymap for individual games in DosBox? Here is my problem: I've stared using an XBox 360 controller on my PC and was glad that DosBox supports it (somewhat). Most games have joystick support for two or four buttons. When I try to use four button support for the 360 controller, I am only able to use two buttons (A and B). So for one game, I used the keymapper tool in DosBox to assign different keys to different button and triggers on the controller. This works perfectly for one game, but other games have different key assignments. This means I would have to reassign a new key with the keymapper tool for each game that I play. This brings me to my question again, can I set up individual keymaps for each game that I play? Is this even supported in DosBox? I am using 0.72. Any help on this subject would be greatly appreciated.

Reply 1 of 6, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

yes
create a configfile for each game
and in that configfile specify a keymap you want

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

Reply 2 of 6, by rrian

User metadata
Rank Newbie
Rank
Newbie

How do you do this?

Reply 3 of 6, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Do what?
You are sure you DID read the readme, right?

Reply 4 of 6, by rrian

User metadata
Rank Newbie
Rank
Newbie

I have read the readme and I know how to edit the config file, but I am confused on how to assign a separate config file to each individual game.

Reply 5 of 6, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

See section 3 of the readme, stuff like "dosbox -conf game1.conf" along
with some batch file thing that starts dosbox+the game that way.