Previous Thread
Next Thread
Print Thread
2 Trackballs/Spinners #14962
07/18/06 01:00 PM
07/18/06 01:00 PM
Joined: Jun 2005
Posts: 55
Oakland, CA
Rhettnificent Offline OP
Junior Member
Rhettnificent  Offline OP
Junior Member
Joined: Jun 2005
Posts: 55
Oakland, CA
Is it possible for MacMAME to register 2 analog USB devices as separate inputs?

For instance, is it possible to use 2 trackballs for 2 player "Marble Madness". Or 2 spinners for 2 player "Arkanoid Returns"?


The Time Capsule "A Majestic MacMAME Experience"
Re: 2 Trackballs/Spinners #14963
07/18/06 01:12 PM
07/18/06 01:12 PM
Joined: Feb 2004
Posts: 2,012
Sydney, Australia
Vas Crabb Offline
Very Senior Member
Vas Crabb  Offline
Very Senior Member
Joined: Feb 2004
Posts: 2,012
Sydney, Australia
No, not with MacMAME in its current form.

Re: 2 Trackballs/Spinners #14964
07/18/06 01:29 PM
07/18/06 01:29 PM
Joined: Jun 2005
Posts: 55
Oakland, CA
Rhettnificent Offline OP
Junior Member
Rhettnificent  Offline OP
Junior Member
Joined: Jun 2005
Posts: 55
Oakland, CA
Aw, man... too bad. I wonder what the odds of this ever happening are?


The Time Capsule "A Majestic MacMAME Experience"
Re: 2 Trackballs/Spinners #14965
07/19/06 05:48 AM
07/19/06 05:48 AM
Joined: Jul 2005
Posts: 177
J
jonceramame Offline
Senior Member
jonceramame  Offline
Senior Member
J
Joined: Jul 2005
Posts: 177
I believe there's an "analog" version of regular MAME that handles such things...
http://www.urebelscum.speedhost.com/

Re: 2 Trackballs/Spinners #14966
07/19/06 07:17 AM
07/19/06 07:17 AM
Joined: Mar 2001
Posts: 16,070
USA
R
R. Belmont Online content
Very Senior Member
R. Belmont  Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,070
USA
Regular MAME does it automatically on Windows XP. The special analog version is thus no longer required.

As for doing it on the Mac, that depends on if OS X allows reading individual mice separately. Most versions of Windows don't, which is why you need XP to do it there.

Re: 2 Trackballs/Spinners #14967
07/19/06 04:16 PM
07/19/06 04:16 PM
Joined: Feb 2004
Posts: 2,012
Sydney, Australia
Vas Crabb Offline
Very Senior Member
Vas Crabb  Offline
Very Senior Member
Joined: Feb 2004
Posts: 2,012
Sydney, Australia
You can do it quite easily through HID manager, the same way you read joysticks.

Re: 2 Trackballs/Spinners #14968
07/20/06 05:52 AM
07/20/06 05:52 AM
Joined: Jul 2005
Posts: 177
J
jonceramame Offline
Senior Member
jonceramame  Offline
Senior Member
J
Joined: Jul 2005
Posts: 177
Vas, could you please give some hints or a tutorial? I sometimes have issues with trackpad confusion on analog controls, and I'm also trying to scheme wiring multiple analogs with my mini-pac.

Is HID Manager a 3rd party app?

Re: 2 Trackballs/Spinners #14969
07/20/06 10:18 AM
07/20/06 10:18 AM
Joined: Feb 2004
Posts: 2,012
Sydney, Australia
Vas Crabb Offline
Very Senior Member
Vas Crabb  Offline
Very Senior Member
Joined: Feb 2004
Posts: 2,012
Sydney, Australia
It's not 3rd-party - it's part of IOKit. Look at the code MacMAME uses for reading joysticks (macinput.c). You'll have to hack it up to read mouse input the same way. I'm still on Panther, so I can't help with the latest MacMAME (I'm also very busy right now, so I'd rather not commit myself to it).

If you do change it to use HID manager, mouse input will all be perfectly linear - the acceleration is done in the driver. Also, Wacom tablets won't work at all.

Re: 2 Trackballs/Spinners #14970
07/21/06 06:45 PM
07/21/06 06:45 PM
Joined: Jul 2005
Posts: 177
J
jonceramame Offline
Senior Member
jonceramame  Offline
Senior Member
J
Joined: Jul 2005
Posts: 177
Understood on the time committment, I've got that problem and a lack of coding skill... But it's awesome that it's possible. Thx for the raw info.


Who's Online Now
4 registered members (Olivier Galibert, Reznor007, Pernod, 1 invisible), 109 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Shout Box
Forum Statistics
Forums9
Topics8,606
Posts112,515
Members4,827
Most Online296
Dec 5th, 2018
Powered by UBB.threads™ PHP Forum Software 7.6.1.1
(Release build 20180111)
Page Time: 0.041s Queries: 13 (0.016s) Memory: 5.6518 MB (Peak: 5.8545 MB) Zlib enabled. Server Time: 2018-12-15 13:38:36 UTC