Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Default MAME Keys  (Read 59414 times)

0 Members and 1 Guest are viewing this topic.

Slope

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 43
  • Last login:May 02, 2015, 03:43:21 am
Default MAME Keys
« 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.

jcrouse

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1027
  • Last login:January 09, 2010, 05:53:51 pm
    • CPViewer
Re: Default MAME Keys
« Reply #1 on: March 13, 2006, 08:17:13 am »
I believe these are it.

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

John

Tiger-Heli

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5447
  • Last login:January 03, 2018, 02:19:23 pm
  • Ron Howard? . . . er, I mean . . . Run, Coward!!!
    • Tiger-Heli
Re: Default MAME Keys
« Reply #2 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.



It's not what you take when you leave this world behind you, it's what you leave behind you when you go. - R. Travis.
When all is said and done, generally much more is SAID than DONE.

Buddabing

  • Wiki Master
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 1845
  • Last login:February 12, 2015, 02:51:45 pm
  • I'm a llama!
Re: Default MAME Keys
« Reply #3 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
I have changed my nickname to "Cakemeister". Please do not PM the Buddabing account because I do not check it anymore.

Please read the wiki!