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: Key Config in Mame??  (Read 4305 times)

0 Members and 1 Guest are viewing this topic.

Johnny

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 70
  • Last login:June 18, 2025, 10:43:22 pm
  • I Want My Own Coctail Cabinet!!
Key Config in Mame??
« on: July 27, 2002, 08:47:56 pm »
Hi Guys,
Is there any way to change the keyboard settings in mame?? (been looking, can't find)
I need to change the fire button (Left Control) due to the use of an KVM Switch.

Thanx
Johnny
Johnny Andersen
 Oslo - Norway

x-wing

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 98
  • Last login:March 28, 2003, 10:40:37 pm
  • I Built My Own Arcade Controls!!
Re:Key Config in Mame??
« Reply #1 on: July 27, 2002, 09:46:16 pm »
When you load up a game, hit the Tab key.  Go into the General game settings and reconfigure any key you wish.  If you change the keys in the Game specific section, your changes will only be saved for that particular game.

Johnny

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 70
  • Last login:June 18, 2025, 10:43:22 pm
  • I Want My Own Coctail Cabinet!!
Re:Key Config in Mame??
« Reply #2 on: July 29, 2002, 06:49:13 pm »
Thanx, x-wing :) :)

- Johnny
Johnny Andersen
 Oslo - Norway

Jakobud

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1962
  • Last login:April 28, 2025, 12:29:02 am
Re:Key Config in Mame??
« Reply #3 on: July 29, 2002, 10:03:16 pm »
There is a better way to do this.

If you press TAB and go in and change the controls, those controls will be saved in the CFG files, which are non-ascii i.e. hard to edit outside of Mame.

In the DOCS folder read about the ctrlr.txt

It allows you to define default controls and game specific controls using editable INI files.  So you don't ever have to go back in and configure each game every time.  The thing is, when you just do in in Mame, the CFG most likely will not work when you upgrade to the next version of Mame.  But if you do everything with the INI files, those will work no matter what version of Mame you use (well...given that you use Mame 0.60 or above...which is the version in which this INI file thing was implemented).

Use the INI thing.  It gives you lots of control and it a lot quicker that doing everything game by game...

Jakobud

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re:Key Config in Mame??
« Reply #4 on: July 30, 2002, 06:40:37 am »
Is there a way of retaining a game's analogue control sensitivity setting from the 'tab' menu?  This also is lost when a new MAME version comes along.

Or I just haven't figured it out yet :)

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:Key Config in Mame??
« Reply #5 on: July 30, 2002, 10:54:25 pm »
Is there a way of retaining a game's analogue control sensitivity setting from the 'tab' menu?  This also is lost when a new MAME version comes along.

Or I just haven't figured it out yet :)


That data is saved in the .cfg files.  Right now, only the inputs can be set with the ctrlr .ini files.

So that leaves three ways at the moment:
  • copy the .cfg files with analog settings you want to keep to the new mame and hope they still work with the new mame (they should if no changes were made to the game driver)
  • edit the game's drivers so their default values are those you want
  • re-set the settings by hand each time
Hopefully in the near future, the ctrlr ini files will expand and save analog settings too, but until then ... [shrug] :(  The ctrlr stuff is new and still in developement, so there is hope.
Robin
Knowledge is Power