Build Your Own Arcade Controls Forum

Main => Main Forum => Topic started by: Derrick Renaud on March 09, 2006, 10:45:54 pm

Title: MAME multiple mouse support
Post by: Derrick Renaud on March 09, 2006, 10:45:54 pm
XP - PS/2, serial, and USB mice can all be indivually selected as controllers.

Win98/Me with DX7 and up.  USB mice only can be selected as individual controllers. 

Actually my Win98SE test system did not work with DX7, but did with DX8.  That might have been due to some remaing parts of Logitech Mouseware.

Logictech Mouseware drivers should not be used.  They disable multi-mouse support.

[EDIT] Mouseware seems to not cause any problems on XP.  But it will bugger other versions of Windows.  DO NOT report bugs while mouseware is installed.

D.
Title: Re: MAME multiple mouse support
Post by: Kremmit on March 10, 2006, 01:20:59 am
That's great!  It's a fix that's been needed for a long time.

Question:

Two mouse limit, or more? 

3-player Rampart wants 3 independent trackballs.
Title: Re: MAME multiple mouse support
Post by: Cananas on March 10, 2006, 01:24:43 am
Again, thanks, Derrick.

Working great on my LapTop with Windows XP2 with 2 usb mouses connected. (Even works on Mameplus ;))

**** EDIT ****
From Lightgun Threath:
Quote
Just to set the record straight...

Jake Stookey was supposed to get co-credit on this part, because I based the code on his raw_mouse.c code.  I feel bad that it was not.  And the readme should be fixed for next version.

D.
Of course. Also many thanks to Jake.
And thanks to all the people tried to implement in mame out previously.
Title: Re: MAME multiple mouse support
Post by: Derrick Renaud on March 10, 2006, 09:17:31 am
Two mouse limit, or more? 

in src\windows\input.c

MAX_MICE = 8

Make it 53 and recompile if you want.  ;D

So no, there is no 2 MOUSE limit.

D.
Title: Re: MAME multiple mouse support
Post by: Lilwolf on March 10, 2006, 09:41:20 am
SWEET!  I'm starting my 53 trackball control panel when I get home... SWEET!

Now I can finally try runing 25 marble madness windows at once and one centipede on one system for those BIG parties where everyone wants to play at once!
Title: Re: MAME multiple mouse support
Post by: jerryjanis on March 10, 2006, 12:07:05 pm
Again, thanks, Derrick.

Working great on my LapTop with Windows XP2 with 2 usb mouses connected. (Even works on Mameplus ;))

**** EDIT ****
From Lightgun Threath:
Quote
Just to set the record straight...

Jake Stookey was supposed to get co-credit on this part, because I based the code on his raw_mouse.c code.  I feel bad that it was not.  And the readme should be fixed for next version.

D.
Of course. Also many thanks to Jake.
It has been my pleasure.  I'm really happy to see that it's making it's way into Mame.

Quote
And thanks to all the people tried to implement in mame out previously.
Especially u_rebelscum.  He's provided us with multimouse Mame for many years.  Thanks to Mame Analog+ there has been a home where the multiple mouse stuff could live and grow.

Nice work Derrick!  Thanks again!

Jake
Title: Re: MAME multiple mouse support
Post by: Gh0sty on March 10, 2006, 12:31:25 pm
thank you both alot!
nice to see this now makes it into original mame!
it was bout time, after B. Gates disabled multi mice into XP :/
Title: Re: MAME multiple mouse support
Post by: Silver on March 10, 2006, 03:58:05 pm
Theres an XP game knocking around that apparantly uses rawmouse to support up to 8 simultaneous players (1 mouse/trackball each). I think its available on Steam, called Rag Doll Kung Fu or something....
Title: Re: MAME multiple mouse support
Post by: Doc- on March 10, 2006, 08:08:33 pm
I hate to ask...

  Which version of MAME added the multiple mouse support and how do I enable it?

Thanks,
Doc-
Title: Re: MAME multiple mouse support
Post by: Silver on March 10, 2006, 08:11:21 pm
It's only just been added in 104u5....
Title: Re: MAME multiple mouse support
Post by: Derrick Renaud on March 10, 2006, 09:00:50 pm
how do I enable it?

Plug in more then one mouse.   ::)  Then setup the in game controls.

Read the first post in this thread for compatibility info.

D.
Title: Re: MAME multiple mouse support
Post by: Derrick Renaud on March 10, 2006, 09:07:30 pm
Is it just me....

When you plug in new mice, does each new mouse become mouse 1 and the already installed mice shift up one?

This might just be the way XP reports mice.  I will have to test on Win98.  I may have to reverse the order of the list that RAWMOUSE reports.

D.
Title: Re: MAME multiple mouse support
Post by: DrumAnBass on March 12, 2006, 09:40:25 am
What version of Mame is this implemented in? Or is this something coming in future versions?
Title: Re: MAME multiple mouse support
Post by: SirPeale on March 12, 2006, 09:50:08 am
What version of Mame is this implemented in? Or is this something coming in future versions?

Your question is answered three posts above.
Title: Re: MAME multiple mouse support
Post by: jcrouse on March 12, 2006, 10:17:57 am
Is it just me....

When you plug in new mice, does each new mouse become mouse 1 and the already installed mice shift up one?

This might just be the way XP reports mice.  I will have to test on Win98.  I may have to reverse the order of the list that RAWMOUSE reports.

D.

Derrick,
    Did you see Howard's post in the thread tittled "Re: MAME 104u5 out - adds multiple mice". It may add some insightful information.

Thanks also,
John
Title: Re: MAME multiple mouse support
Post by: Derrick Renaud on March 12, 2006, 01:51:45 pm
Is it just me....

When you plug in new mice, does each new mouse become mouse 1 and the already installed mice shift up one?

This might just be the way XP reports mice.  I will have to test on Win98.  I may have to reverse the order of the list that RAWMOUSE reports.

D.

Derrick,
    Did you see Howard's post in the thread tittled "Re: MAME 104u5 out - adds multiple mice". It may add some insightful information.

Thanks also,
John
Thanks I just read it.  Sounds like a non-programmer speculating about something he knows nothing about.

As for the list being reversed in XP, my next code update will reverse what RAWMOUSE reports, so each new mouse gets added to the end of the list.

D.