Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: screaming on October 06, 2004, 02:32:19 pm

Title: How to effectively have a mouse.ini with the new XML ctrlr files?
Post by: screaming on October 06, 2004, 02:32:19 pm
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
Title: Re:How to effectively have a mouse.ini with the new XML ctrlr files?
Post by: SirPoonga 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.
Title: Re:How to effectively have a mouse.ini with the new XML ctrlr files?
Post by: Howard_Casto 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.