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: Help getting USB Mouse working as trackball?  (Read 3081 times)

0 Members and 1 Guest are viewing this topic.

Afterburner

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 164
  • Last login:July 27, 2016, 01:02:00 am
Help getting USB Mouse working as trackball?
« 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.
« Last Edit: July 18, 2016, 09:53:48 pm by Afterburner »
  2-player upright dual trackball / dual 8-way rotary joysticks - built from scratch

Afterburner

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 164
  • Last login:July 27, 2016, 01:02:00 am
Re: Help getting USB Mouse working as trackball?
« Reply #1 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.
  2-player upright dual trackball / dual 8-way rotary joysticks - built from scratch