A group for all Mame Arcade, Snes, Sega genesis, Psx and other Games fans. Mame Arcade, and other emulators.

Post tutorial 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.

Comments
Guest
Guest

Muy buen aporte! :D

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

Gracias

Reply Good karma+1 vote
Guest
Guest

defult option is not working what should i now

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

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

Reply Good karma+1 vote
redfain
redfain

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

In the game selection screen.

Reply Good karma+1 vote
Guest
Guest

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

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

Thank you so very much <3

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

Welcome

Reply Good karma+1 vote
Guest
Guest

still doesnt work with my gamepad

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

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

Reply Good karma+1 vote
Guest
Guest

The default options command is not active

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

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

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

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

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

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

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

Mine is also greyed out on the default options?

Reply Good karma Bad karma+1 vote
Guest
Guest

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

Reply Good karma Bad karma+2 votes
Guest
Guest

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

Guest
Guest

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
NARbluebird
NARbluebird

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

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

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

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

Guest
Guest

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

Guest
Guest

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

Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.

Follow Join group Profile
Established
Privacy
Public
Subscription
Open to all members
Contact
Send Message
Membership
Join group
Group watch
Follow
Tutorial
Tags
Tutorial
Browse
Tutorials
Share
Related Groups
Mame Arcade
Mame Arcade Hobbies & Interests with 43 members