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 to effectively have a mouse.ini with the new XML ctrlr files?  (Read 915 times)

0 Members and 1 Guest are viewing this topic.

screaming

  • Sweet! I'mma go make me some popovers!
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2124
  • Last login:August 14, 2019, 03:15:34 pm
  • Registered lUser
    • shift eight (*) generation
Hello all,

  I have 1 trackball on my cp, and I was trying to figure out how to enable the 2 mouse buttons, P1B1/P!B2, and P2B1/P2B2 to all be P1B1/P1B2 when I'm playing a game that requires it.

I set these options in my mame.ini file to enable the mouse automatically for games:

paddle_device           mouse
adstick_device          mouse
pedal_device            mouse
dial_device             mouse
trackball_device        mouse
lightgun_device         mouse
digital                 none


  ..and that seems to work great, only I'm having trouble finding where to set up mouse-specific options.

  The old way I was able to do this by having a mouse.ini with those specific settings in there, but the new XML-style ctrlr file parsing doesn't seem to care about a <system name="mouse"></system> stanza.  Is there some better way of doing it? Is there some other element other than <system/> that I should use there?  

  Even better, how about a DTD?

-Steve

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8188
  • Last login:July 20, 2025, 03:37:24 pm
  • The Bears Still Suck!
Re:How to effectively have a mouse.ini with the new XML ctrlr files?
« Reply #1 on: October 06, 2004, 02:42:01 pm »
Well, complain about a DTD to the mame people, not here.

Anyway the whole control scheme changed too.  You will have the read the latest whatsnew.txt files for the last several versions, including the u releases.  Unless someone else knows more about it here.  I read through what they did and it is a little confusing.

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19428
  • Last login:Today at 11:06:50 am
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re:How to effectively have a mouse.ini with the new XML ctrlr files?
« Reply #2 on: October 06, 2004, 09:17:39 pm »
Mouse clicks are pure digital, just like keyboard keys and at least in mame, just like joystick buttons.  For all games you setup the keys as the two keyboard keys OR the two mouse buttons.  As a matter of fact, this is how mame is setup by default.  What reason would you have to change it?  Problem solved... no need for a "mouse" entry in your ctrlr file.


I'm not sure what you mean by "mouse specific options" but the ini files are still in place.  Look in the "ini" folder and any command line switches can be set by placing a mouse.ini in that folder.  

In other words the new xml format seperated the command line flags from button remappings, which, imho is a good thing as it avoids confusion.  

Hope that helps.