The NEW Build Your Own Arcade Controls

Main => Software Forum => Topic started by: Slope on March 12, 2006, 11:38:07 pm

Title: Default MAME Keys
Post by: Slope on March 12, 2006, 11:38:07 pm
I'm setting my console emulators right now and I small laptop hard drive I had for my mini-itx motherboard.  Anyway, it doesn't have enough room on it to install mame, so I'm waiting until my new HD arrives.  In the meantime, I'm setting up my other emulators and .cfg files for "joytokey".  I'd like everything to use the mame defaults where possible.  Problem is, I can't find a text file that show me what those defaults are.  If someone has them, can they please PM or email me the file?

Thanks again for your help.  You guys have helped me a LOT already.
Title: Re: Default MAME Keys
Post by: jcrouse on March 13, 2006, 08:17:13 am
I believe these are it.

http://www.ultimarc.com/ipac2.html

John
Title: Re: Default MAME Keys
Post by: Tiger-Heli on March 13, 2006, 09:48:46 am
I believe these are it.

http://www.ultimarc.com/ipac2.html

John
Ermmmn, sortof . . .

The file above is the default keycodes for the I-PAC/4.

The MAME defaults are listed in your C:\mame\cfg\default.cfg file

Note that 10 buttons are defined for Player 1, 4 buttons are defined for Player 2, No joystick directions are defined for Player 3, and no inputs are defined for Player 4.

This was as of MAME 0.97.  It looks like the latest distribution drops this altogether, so you have to create all your key mappings.

That said, most people use the I-PAC defaults anyway, just be aware:

P2 Buttons 5-8 and P3 directionals overlap.

4 Left and 1SW8 Overlap.



Title: Re: Default MAME Keys
Post by: Buddabing on March 13, 2006, 01:00:10 pm
The MAME defaults are defined in src\inptport.c

Player 1:
Button 1 - Left Control
Button 2 - Left Alt
Button 3 - Spacebar
Button 4 - Left Shift
Button 5 - Z
Button 6 - X
Button 7 - C
Button 8 - V
Button 9 - B
Button 10 - N
Start - 1
Coin - 5
Up - Up Arrow
Down - Down Arrow
Left - Left Arrow
Right - Right Arrow

Player 2:
Button 1 - A
Button 2 - S
Button 3 - Q
Button 4 - W
Up - R
Down - F
Left - D
Right - G
Start - 2
Coin - 6

Player 3:
Button 1 - Right Control
Button 2 - Right Shift
Button 3 - Enter
Up - I
Down - K
Left - J
Right - L
Start - 3
Coin - 7

Player 4:
Button 1 - 0 Pad
Button 2 - Del Pad
Button 3 - Enter Pad
Up - 8 Pad
Down - 2 Pad
Left - 4 Pad
Right - 6 Pad
Start - 4
Coin - 8

HTH,
Buddabing