Build Your Own Arcade Controls Forum

Main => Raspberry Pi & Dev Board => Topic started by: Afterburner on July 18, 2016, 09:14:11 pm

Title: Help getting USB Mouse working as trackball?
Post by: Afterburner on July 18, 2016, 09:14:11 pm
I've got two Xarcade trackballs that both are standard USB 3-button mice.

I have them both working on the RPi3 under xwindows (in fact I'm using them now to browse this forum).  They both work as expected under xwindows.

Where I'm getting lost is getting them working under EmulationStation or one of the MAME versions.

I've gotten a PS3 controller and keyboard working under EmuSta, but can't seem to figure out how to get it to recognize a regular mouse.

Is there a config file I need to edit directly?  A driver I need to load prior to launching EmuSta?  What am I missing?

If I'm in a normal command line prior to launching EmuSta, and do "lsusb", it shows both mice as "Belkin Mouse".

I've been through all the config options in EmuSta and Retroarch without seeing anything that would let me do this.  If I go to the "Add Controller" options in EmuSta, it never detects the mouse button press.  Very, very frustrating.
Title: Re: Help getting USB Mouse working as trackball?
Post by: Afterburner on July 19, 2016, 12:45:06 am
After more tinkering, I was able to get both mice working (simultaneously!) When I ran advmame 1.4 from the command line.

Just as a quick test, I did:  advmame space gun

Cross hairs for both players appeared and were independently controlled via their respective USB trackball.

I am beginning to suspect that mame all does not support a USB mouse.  Can anyone confirm that?

I may try lr-mame2010, although this is my first time attempting to configure retroarch, so new territory there for me.