This is a quick video to show you how to get a usb trackball working in Retropie on your Raspberry pi. It works with mame2003, mame2010, and advmame.
Changes you need to add to the
\\retropie\configs\all\retroarch-core-options.cfg
mame2003-mame_current_mouse_enable = "enabled"
mame2010-mame_current_mouse_enable = "enabled"
Once the changes are made you will need to update within retroarch to use the mouse like shown in the video. You can access retroarch once booted into a game by pressing hotkey + X.
If it doesnt work after these changes, there is a chance the trackball may be another index than 0
Plug in a keyboard and hit F4 to go to the command line.
type
cd /dev/input then ls -la to list all devices
you can then run: cat mouse0
Moving the trackball around should show input on the screen (repeat for any index it may be).
What you need to do is start any arcade game then bring up the retroarch menu. Default its Select+X. From the Main Menu go to Settings - Input - Input User 1 Binds - User 1 Mouse Index and change it from 0 to 2. Then press b to go all the way back, then Quick Menu - Resume.
The trackball should be working now. If not, repeat the above steps until you find and index that works. Could be 1, or 3, or 4 etc. in your case.
Check out our cabinets here [ Ссылка ]
SUBSCRIBE!
THERE'S MORE GOODNESS FOR YOU HERE
YouTube: [ Ссылка ]
Website: [ Ссылка ]
Google+: [ Ссылка ]
Twitter: [ Ссылка ]
Facebook: [ Ссылка ]
![](https://i.ytimg.com/vi/BN4_tm4jvXg/maxresdefault.jpg)