Friday, March 19, 2021

Multi-Vector Fix your Spinner

There are two locations for for advmame.rc.  The one you want to edit is /home/pi/.advance/advmame.rc

Here are the lines to add or edit: 

device_mouse raw
device_raw_mousedev[0] /dev/input/mouse0
device_raw_mousedev[1] /dev/input/mouse1
device_raw_mousedev[2] /dev/input/mouse2
device_raw_mousedev[3] /dev/input/mouse3
device_raw_mousetype[0] ps2
device_raw_mousetype[1] ps2
device_raw_mousetype[2] ps2
device_raw_mousetype[3] ps2 
input_map[p1_trackballx] mouse[0,x] mouse[1,x] mouse[2,x] mouse[3,x]
input_map[p1_trackbally] mouse[0,y] mouse[1,y] mouse[2,y] mouse[3,y]
input_map[p1_dialx] mouse[0,y] mouse[1,y] mouse[2,y] mouse[3,y]
input_map[p1_dialy] mouse[0,y] mouse[1,y] mouse[2,y] mouse[3,y] 
input_map[p1_paddlex] mouse[0,y] mouse[1,y] mouse[2,y] mouse[3,y]
input_map[p1_paddley] mouse[0,y] mouse[1,y] mouse[2,y] mouse[3,y] 

 This will ensure no matter which mouse your spinner gets detected as and which interface is used, it will work in the game.

Extremely useful information here if you want to read more :  RetroPi Spinners, Trackballs... 

While we are not using RetroPi, we are using a specially compiled version of AdvanceMAME.  Ignore the RetroArch section and scroll down to AdvanceMAME.

No comments:

Post a Comment

Spot Killer Killer

   USB Relay     USB Extension Cable     Files       When using a DVG with a WG6100 monitor, some games may appear to be missing all or part...