bobt
Participant
Post count: 7

I finally got the trackball and spinner to work.

I finally got the trackball and spinner to work with advmame

the first thing you need to do is figure out which mouse is providing the inputs
type ls /dev/input – I had mouse0 and mouse1

determine which mouse is providing input for the trackball and spinner – it will be the same.
type cat /dev/input/mouse0
move the trackball or spinner. If text is showing on the screen then you will use mouse0 in your configuration. If no text then substitute mouse0 with mouse1.

The roms that I had loaded were for advmame-0.94.0. edit the advmame-0.94.0.rc configuration file
cd .advance

I used the advmame-0.94.0 roms
edit advmam-0.94.0.rc in the retropie/.advance folder

edit the following lines
device_keyboard raw
device_mouse raw

device_raw_mousedev[0] /dev/input/mouse0
device_raw_mousetype[0] ps2

input_map[p1_dialx] mouse[0,x]
input_map[p1_dialy] mouse[0,y]

input_map[p1_trackballx] mouse[0,x]
input_map[p1_trackbally] mouse[0,y]