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: MAME multiple mouse support  (Read 6789 times)

0 Members and 1 Guest are viewing this topic.

Derrick Renaud

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 299
  • Last login:December 06, 2024, 04:31:44 pm
MAME multiple mouse support
« 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.
« Last Edit: March 10, 2006, 09:03:21 pm by Derrick Renaud »

Kremmit

  • - AHOTW -
  • Wiki Contributor
  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3165
  • Last login:June 17, 2025, 04:07:55 pm
  • Who the heck is that?
Re: MAME multiple mouse support
« Reply #1 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.

Cananas

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 299
  • Last login:August 27, 2017, 07:39:03 am
  • and the seventh day... PacMan was created
Re: MAME multiple mouse support
« Reply #2 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.
« Last Edit: March 10, 2006, 01:33:37 am by Cananas »

Derrick Renaud

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 299
  • Last login:December 06, 2024, 04:31:44 pm
Re: MAME multiple mouse support
« Reply #3 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.

Lilwolf

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4945
  • Last login:July 31, 2022, 10:26:34 pm
Re: MAME multiple mouse support
« Reply #4 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!

jerryjanis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 821
  • Last login:February 02, 2023, 01:56:44 am
  • Skate or Die!!!
    • Jake's Joystick
Re: MAME multiple mouse support
« Reply #5 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

Gh0sty

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 56
  • Last login:December 04, 2019, 05:04:06 pm
  • flying Mame Player
Re: MAME multiple mouse support
« Reply #6 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 :/

Silver

  • Wiki Contributor
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1668
  • Last login:April 16, 2025, 04:09:53 pm
  • Cunning like the Fox.
    • Mods'n'Mods
Re: MAME multiple mouse support
« Reply #7 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....

Doc-

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 178
  • Last login:April 09, 2007, 01:04:51 am
  • Carpe Arcadium!
    • Doc's Modular MAME
Re: MAME multiple mouse support
« Reply #8 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-

Silver

  • Wiki Contributor
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1668
  • Last login:April 16, 2025, 04:09:53 pm
  • Cunning like the Fox.
    • Mods'n'Mods
Re: MAME multiple mouse support
« Reply #9 on: March 10, 2006, 08:11:21 pm »
It's only just been added in 104u5....

Derrick Renaud

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 299
  • Last login:December 06, 2024, 04:31:44 pm
Re: MAME multiple mouse support
« Reply #10 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.

Derrick Renaud

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 299
  • Last login:December 06, 2024, 04:31:44 pm
Re: MAME multiple mouse support
« Reply #11 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.

DrumAnBass

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 634
  • Last login:July 10, 2024, 10:36:54 pm
  • "I love this computer magic!" - Viv Savage
Re: MAME multiple mouse support
« Reply #12 on: March 12, 2006, 09:40:25 am »
What version of Mame is this implemented in? Or is this something coming in future versions?
"Some drink from the fountain of knowledge; I only gargle."

SirPeale

  • Green Mountain Man
  • Global Moderator
  • Trade Count: (+23)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 12963
  • Last login:August 04, 2023, 09:51:57 am
  • Arcade Repair in New England
    • Arcade Game and Other Coin-Op Projects
Re: MAME multiple mouse support
« Reply #13 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.

jcrouse

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1027
  • Last login:January 09, 2010, 05:53:51 pm
    • CPViewer
Re: MAME multiple mouse support
« Reply #14 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

Derrick Renaud

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 299
  • Last login:December 06, 2024, 04:31:44 pm
Re: MAME multiple mouse support
« Reply #15 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.