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: How do i change the controls in MAME?  (Read 4567 times)

0 Members and 1 Guest are viewing this topic.

chuggy

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 82
  • Last login:December 12, 2004, 11:37:49 pm
  • I want my own arcade controls!
How do i change the controls in MAME?
« on: June 25, 2003, 07:45:42 pm »
Apparently no one else knows how to change nesticle controls either, so maybe i need to go a differant route? I need to make the exit commands the same. So i need to change the A button from alt to something differant, and change the exit button from esc to alt q, if this is possible, how do i go about changing the mame controls?

u_rebelscum

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3633
  • Last login:April 21, 2010, 03:06:26 pm
  • You rebel scum
    • Mame:Analog+
Re:How do i change the controls in MAME?
« Reply #1 on: June 26, 2003, 04:50:12 am »
Apparently no one else knows how to change nesticle controls either, so maybe i need to go a differant route? I need to make the exit commands the same. So i need to change the A button from alt to something differant, and change the exit button from esc to alt q, if this is possible, how do i go about changing the mame controls?

I like using ctrlr ini files to change mame's inputs.  It's a little longer to set up than the other way, but is designed to last from version to verison.

Old way.  
Start game, go to mame UI (TAB key usually), select "Input (general)" and change the needed inputs.  Exit is called "UI Cancel".  You might need to do this again each time a new mame comes out, and might need to delete it if you accidentally un-map tab.  More info: mame faq & easyemu input UI page


Ctrlr ini way.
Um, sort of long to put the whole thing here.  Read docs/ctrlr.txt and easyemu ctrlr page for the general how-to.
Details (assuming you understand the above links), copy the std.ini to default.ini in your folder you made, and edit UI_Cancel and all lines that use the keys you want to switch.  Delete all lines that you didn't edit.  When a new mame comes along, copy your ctrlr folder and make sure the new mame.ini refers to the folder you want used.


Either way, you probably want to make your cfg/default.cfg file read only.  To prevent the accidental tab remap, and other undoings of your setup.
Robin
Knowledge is Power