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: Re-Assigning internal MAME keys  (Read 4106 times)

0 Members and 1 Guest are viewing this topic.

grounded

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 15
  • Last login:November 06, 2003, 11:54:25 am
  • I built my own arcade controls!
Re-Assigning internal MAME keys
« on: May 19, 2003, 12:04:58 pm »
Is there any way I can re-assign the QUIT button inside MAME to use "F12" instead of "ESC" ?? This way it will match the QUIT button on my NES emulator (which can't use ESC for some reason ((virtualNES))

Thanks,

Jakobud

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1962
  • Last login:June 30, 2025, 02:20:39 pm
Re:Re-Assigning internal MAME keys
« Reply #1 on: May 19, 2003, 05:26:06 pm »
Press TAB, goto the menu to redefine keys.  It's in there somewhere.  Careful what you change though, you can accidentally screw up some stuff where you won't be able to get out of the menu (or won't be able to bring it back up again).  If that happens just delete default.cfg.

grounded

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 15
  • Last login:November 06, 2003, 11:54:25 am
  • I built my own arcade controls!
Re:Re-Assigning internal MAME keys
« Reply #2 on: May 19, 2003, 05:47:16 pm »
There is no QUIT or ESCAPE on that list "input general

Any other ideas?

Brad Lee

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 619
  • Last login:May 26, 2005, 11:39:04 am
    • 666
Re:Re-Assigning internal MAME keys
« Reply #3 on: May 19, 2003, 07:32:25 pm »
UI Cancel is what you're looking for, it's what exits from the <tab> menus, as well as the game itself

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:Re-Assigning internal MAME keys
« Reply #4 on: May 20, 2003, 04:13:33 am »
You might want to use the ctrlr ini files method instead of the cfg/cfg (TAB) method.  Sometimes you have to redo the TAB changes with each new version of mame; ctrlr ini files are designed to be cross version compatable.

mame.ini:
ctrlr_directory ctrlr
ctrlr virtual_nes

make a folder called ctrlr/virtual_nes/ inside the mame folder.  ("virtual_nes" can be anything you want as long as it matches in the mame.ini file)

Open a text editor and put:
UI_CANCEL               "KEYCODE_F12"

and any other changes you want (look at ctrlr/std.ini to see what you can change).  You only need to put what you want different.

Save file in the ctrlr/virtual_nes/ folder as "default.ini"  Finished.

Read docs/ctrlr.txt and http://www.mameworld.net/easyemu/mamecontrolini.htm for more info.
Robin
Knowledge is Power