Post tutorial Report RSS How to enable a controller and assign keys in MAME.

Tutorial in how to enable a controller for mame arcade emulator, and how to assign keys, and a gamepad to the system and in-game commands.

Posted by on - Basic Other

Enable a controller:


Ok, so first of all, if you want to use a controller with your mame, you must do the following:

Fire up your mame.
Click on the options in the commands menu.
Then on the drop down menu, select "Default game options"
Click on the Controllers tab, and tick the "Enable joystick input"

We're not done yet...
Go to the options command again, and select "Interface".
Now check the box "Allow game selection using a joystick"

Ok, once that is done, fire up a game... any game will do for now, so you can access the key configuration.

Once the game is fully active, press the "Tab" key on your keyboard.
That should bring up the In-Game menu.

Select "Input general"

From this menu you can now change the keys for the system it self, and game controls.

How to assign commands?

Press Return (Enter) once on the desired command to activate it, and then press the key or button on your controller that you wish to assign to automatically assign it.

To assign another key or button to the same command, simply press it again, and press the other key.

NOTE: You can have both, the controller and the keyboard assigned.

The commands are self explanatory... so left is left, right is right, etc...
I recommend you leave the dial commands alone for now, as they are only for rarely played games, and you wont really need them.
However, the steering wheel commands can be assigned using a steering wheel that you can purchase in any good games shops.

If you change your mind, you must select another command, before you assign that one again. as it will just keep adding more buttons to that command.
Alternatively, select it and quickly press right twice on the keyboard to cancel all assigned buttons to that command.

NOTE:


I advise beginners not to mess with the general input, and just modify the "Input this game" until you are used to modifying the commands.
And please do NOT modify the tab command, as you no longer be able to access the menus.

However, if you make a mistake, don't panic.
Simply select the command and double tap right in your keyboard to blank out that command.

All assigned game keys will be the default for all games.
Meaning if you assign jump on the key "Space" or button A/1 on the controller... all games will have that one setting, so you may have to modify a few game's keys, as games command vary.

As a last resort, if you make a mistake and can't change it.
Go to mame folder and find the Configuration.ini file.
Open it, and from here you can change the commands.

Post comment Comments
Guest
Guest - - 691,477 comments

Muy buen aporte! :D

Reply Good karma Bad karma+1 vote
Soul-Guardian Author
Soul-Guardian - - 762 comments

Gracias

Reply Good karma+1 vote
Guest
Guest - - 691,477 comments

defult option is not working what should i now

Reply Good karma Bad karma+1 vote
Soul-Guardian Author
Soul-Guardian - - 762 comments

Can you be a bit more specific?
Which default option?

Reply Good karma+1 vote
redfain
redfain - - 151 comments

There is no drop down menu that says 'default game options' or a 'command menu'. To be frank, I don't know what you're talking about.

Reply Good karma Bad karma+2 votes
Soul-Guardian Author
Soul-Guardian - - 762 comments

In the game selection screen.

Reply Good karma+1 vote
Guest
Guest - - 691,477 comments

the joystick option has muted so what can i do to become that option

Reply Good karma Bad karma+1 vote
Soul-Guardian Author
Soul-Guardian - - 762 comments

Provably the right plugin. Try downloading the emulator from a different source. sometimes a corrupt file does them bugs.

Reply Good karma+1 vote
Guest
Guest - - 691,477 comments

Thank you so very much <3

Reply Good karma Bad karma+1 vote
Soul-Guardian Author
Soul-Guardian - - 762 comments

Welcome

Reply Good karma+1 vote
Guest
Guest - - 691,477 comments

still doesnt work with my gamepad

Reply Good karma Bad karma0 votes
Soul-Guardian Author
Soul-Guardian - - 762 comments

Is your pad driver properly indtalled?
Make sure controller is plugged in before you start mame.

Reply Good karma+1 vote
Guest
Guest - - 691,477 comments

The default options command is not active

Reply Good karma Bad karma0 votes
Soul-Guardian Author
Soul-Guardian - - 762 comments

Not all versions of mame are the dame, but usually the ui is similar, and option is on top left of the game selection screen.

Reply Good karma+1 vote
Guest
Guest - - 691,477 comments

Hey there,
Not sure if you'll get this but I got my Xbox One Controller to work in Mame menu (I can use the joystick to go up and down), but when I try to map using the controller, nothing is registered. For example, pressing Enter and another key on the keyboard works, but pressing Enter and pressing a controller button or using the joystick doesn't register anything... any help?
Thanks!

Reply Good karma Bad karma+1 vote
Soul-Guardian Author
Soul-Guardian - - 762 comments

There are various factors that may be causing that-
Is the computer detecting the gamepad?
Is it calibrated?
Is it compatible with mame? Should be by the way.
try downloading the emulator from a different source.
Make sure you enable it first, otherwise mame wont detect any, as you didn't tell it to look for one on the first place.

Reply Good karma+1 vote
Guest
Guest - - 691,477 comments

When I alter the keys for joystick it don't remembers them in MAME, I have to map the joystick all the time

Reply Good karma Bad karma+1 vote
Guest
Guest - - 691,477 comments

How do I saved the commands as when I enter a new game they seem to revert back to the default. The buttons I change seem to go a light grey colour and not full looking like the others sugesdting that they are not saved permanently. Any help would be great. This is the final part of my arcade machine.

Reply Good karma Bad karma0 votes
Soul-Guardian Author
Soul-Guardian - - 762 comments

You can also assign keys to each individual hame. While in game choose the edit or costumize this game instead of general.

Reply Good karma+1 vote
Guest
Guest - - 691,477 comments

Mine is also greyed out on the default options?

Reply Good karma Bad karma+1 vote
Guest
Guest - - 691,477 comments

I can't click on the "Enable Joystick Input" option, it's blocked

Reply Good karma Bad karma+2 votes
Guest
Guest - - 691,477 comments

This comment is currently awaiting admin approval, join now to view.

Guest
Guest - - 691,477 comments

It says "Could not find file (insert Japanese here)w%d x %d.cfg" how can I fix this?

-NARbluebird (too lazy to create an account lol)

Reply Good karma Bad karma0 votes
NARbluebear
NARbluebear - - 1 comments

Okay now I've signed up but the Japanese is still hard to read. Can someone reply with a link to the cfg file (most likely in .zip format)?

Reply Good karma Bad karma+1 vote
Guest
Guest - - 691,477 comments

While im in game and i click tab om keyboard nothin happens i have a stand up with mame32 ?can u help

Reply Good karma Bad karma+1 vote
Soul-Guardian Author
Soul-Guardian - - 762 comments

There is a settings notepad file in the mame folder. check to see which key is assigned and do it manually

Reply Good karma+1 vote
Guest
Guest - - 691,477 comments

This comment is currently awaiting admin approval, join now to view.

Guest
Guest - - 691,477 comments

This comment is currently awaiting admin approval, join now to view.

Guest
Guest - - 691,477 comments

This comment is currently awaiting admin approval, join now to view.

Guest
Guest - - 691,477 comments

This comment is currently awaiting admin approval, join now to view.

Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: