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: Remap MAME service key via INI?  (Read 1221 times)

0 Members and 1 Guest are viewing this topic.

Chris

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4574
  • Last login:September 21, 2019, 04:59:49 pm
    • Chris's MAME Cabinet
Remap MAME service key via INI?
« on: August 08, 2003, 10:51:07 am »
I need help remapping the MAME service key, which defaults to F2.  I know I can re-map this through the GUI, but I would prefer to remap it in a controller INI file.  However, no keys in the STD.INI are mapped to F2, so I cannot figure out how to remap it!  (I tried UI_SERVICE, but it didn't work.)  Does anyone know if F2 can be remapped?

Thanks!

--Chris
--Chris
DOSCab/WinCab Jukebox: http://www.dwjukebox.com

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:Remap MAME service key via INI?
« Reply #1 on: August 08, 2003, 04:38:17 pm »
I don't think you'll like this answer. :(

IIRC, "Service mode not in ctrlr ini" was brought up before on mametester forum, and I think the answer was "not a bug".  Again IIRC, someone posted a "fix", but read below (and I don't have it).

AFAIK, you can't do "service mode" in ctrlr ini files.  You can't do "service mode" in the "Input (General)" UI either, and I think they're directly related.  

Add that even if ctrlr ini files could do "service mode", almost all drivers explicitly assign the F2 key as the input in the driver source code, which would override ctrlr ini files, until you go to the game specific input UI and assign the "default" to that input (enter then esc).  Since you'd have to go and remap every game anyway even if you could edit in ctrlr ini .... being able to would be not very productive. :-\

Sorry.
Robin
Knowledge is Power

Chris

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4574
  • Last login:September 21, 2019, 04:59:49 pm
    • Chris's MAME Cabinet
Re:Remap MAME service key via INI?
« Reply #2 on: August 08, 2003, 04:46:19 pm »
That's actually not a bad answer... I should be able to remap it in the game- or driver- specific controller file.  Again, though, I need to figure out what the key is called, but from your description it sounds like the key can be called something different in each driver.

The answer?  Use the Source, Luke!

I'll have to dig into the driver source when I get home then.  Thanks for pointing me in the right direction!

(I wonder how this particular quirk evolved and when it will be put right?)

--Chris
--Chris
DOSCab/WinCab Jukebox: http://www.dwjukebox.com