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: ctrlr file info  (Read 961 times)

0 Members and 1 Guest are viewing this topic.

cdbrown

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1241
  • Last login:October 16, 2017, 09:52:03 pm
  • Bowowow
ctrlr file info
« on: September 23, 2004, 11:37:16 pm »
Just thought I would post an FYI for anyone interested that are creating their own ctrlr files (you should all be using ctrlr files).

I had a big problem where the P4 controls were not being included in mame which was discovered only on the weekend when some friends came over and we decided to play NBA JAM.  

Things I had done previously:
I had remapped my whole panel using winipac.  Each control was then tested using notepad to verify the controls had taken hold.  I then created a ctrlr file in the old ini format.  Then updated it to xml format using HowardC's converter.  All went well ... or so I thought.

When running mame P1, P2 and P3 controls were all displayed correctly, but P4 controls were all set as "None".

After chatting on irc I used remapped those controls in game.  Checked the games cfg file to see what was generated and automatically saw the problem.

I had KEYCODE_; but mame wants KEYCODE_COLON
so here's a quick list of things
KEYCODE_' = KEYCODE_QUOTE
KEYCODE_] = KEYCODE_CLOSEBRACE
KEYCODE_, = KEYCODE_COMMA
KEYCODE_. = KEYCODE_STOP
KEYCODE_\ = KEYCODE_BACKSLASH
and so on.

If you are using non-letters or non-numbers in your ctrlr file, make sure you have the description and not the keystroke.  

Cheers
-cdbrown

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re:ctrlr file info
« Reply #1 on: September 24, 2004, 06:40:15 am »
See \mame\docs\ctrlr.txt for a full list...not sure if this is included anymore since the ctrlr ini files were dropped, but it will be included with older versions (<=0.84 I think).

cdbrown

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1241
  • Last login:October 16, 2017, 09:52:03 pm
  • Bowowow
Re:ctrlr file info
« Reply #2 on: September 24, 2004, 08:40:53 am »
Excellent work.  It isn't included in the new version but I did have an older version so it's all cool.  Too bad you weren't in the chat room earlier you could have sorted me out straight away. :D