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: MAME Controller and Mapping codes  (Read 905 times)

0 Members and 1 Guest are viewing this topic.

stigzler

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 983
  • Last login:March 21, 2025, 06:36:05 am
  • It seemed like a good idea at the time....
    • Mago Arcade
MAME Controller and Mapping codes
« on: May 20, 2015, 01:09:41 am »
Is there a complete list of these anywhere?

For control codes I'm meaning those like this:

JOYCODE_{0}_YAXIS_UP_SWITCH
JOYCODE_{0}_YAXIS_DOWN_SWITCH
JOYCODE_{0}_XAXIS_LEFT_SWITCH

including all joy,mouse,key,gun codes etc.

For mapping(input?), I'm meaning like this:

P1_JOYSTICK_UP     
P1_JOYSTICK_DOWN     
P1_JOYSTICK_LEFT       
P1_JOYSTICK_RIGHT

Again, for all the different control types...

Forgive me if my terminology's wrong!

gamer83

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 77
  • Last login:September 13, 2022, 05:50:54 pm
Re: MAME Controller and Mapping codes
« Reply #1 on: May 20, 2015, 08:21:18 am »
I think what your looking for is in the cfg folder inside the mame root folder.

stigzler

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 983
  • Last login:March 21, 2025, 06:36:05 am
  • It seemed like a good idea at the time....
    • Mago Arcade
Re: MAME Controller and Mapping codes
« Reply #2 on: May 20, 2015, 12:31:36 pm »
Thanks gamer. However, I was meaning a full+complete list, not just those set within Mame by the user.

gamer83

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 77
  • Last login:September 13, 2022, 05:50:54 pm
Re: MAME Controller and Mapping codes
« Reply #3 on: May 20, 2015, 07:49:39 pm »
Do you mean the mame hotkeys? Try this link http://strategywiki.org/wiki/MAME/Special_Keys,and 

I just checked the mame cfg folder,its not in there,forgot where that list is.
« Last Edit: May 20, 2015, 08:56:12 pm by gamer83 »