Problems using trackball with MAME
-
I am trying to use a Kensington USB trackball with MAME2003 to play the game Major Havoc.
If I plug in a USB mouse, the mouse works as the left-right spinner. However, if I try it with the trackball, it does not work.
Running the game with verbose logging produces the following:
With the USB Mouse:
[INFO] [Video]: Graphics driver did not initialize an input driver. Attempting to pick a suitable driver.
[INFO] [udev]: Keyboard #0 (/dev/input/event0).
[INFO] [udev]: Mouse #0 (/dev/input/event1).
[INFO] [udev]: Mouse #1 (/dev/input/mouse0).
[INFO] [udev]: Plugged pad: 8Bitdo SFC30 GamePad (11720:10288) on port #0.
[INFO] [udev]: Pad #0 (/dev/input/event3) supports 0 force feedback effects.
[INFO] [Autoconf]: 2 profiles found.
[INFO] [autoconf]: selected configuration: /home/pi/.config/retroarch/autoconfig/8Bitdo SFC30 GamePad.cfg
[INFO] [Joypad]: Found joypad driver: "udev".With the Trackball:
[INFO] [Video]: Graphics driver did not initialize an input driver. Attempting to pick a suitable driver.
[INFO] [udev]: Keyboard #0 (/dev/input/event0).
[ERROR] [udev] Failed to open device: /dev/input/event1 (Success).
[INFO] [udev]: Mouse #0 (/dev/input/mouse0).
[INFO] [udev]: Plugged pad: 8Bitdo SFC30 GamePad (11720:10288) on port #0.
[INFO] [udev]: Pad #0 (/dev/input/event3) supports 0 force feedback effects.
[INFO] [Autoconf]: 2 profiles found.
[INFO] [autoconf]: selected configuration: /home/pi/.config/retroarch/autoconfig/8Bitdo SFC30 GamePad.cfg
[INFO] [Joypad]: Found joypad driver: "udev".Note the "Failed to open device"
Any pointers on where I can look to resolve this issue?
-
One other point.
If I do a cat /dev/input/event1 and roll the trackball, I do get junk rinting on the terminal screen.
So it appears that Raspbien is able to access the device.
-
Switching to AdvanceMAME resolved this issue.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.