I use this code with a pro micro board.
https://github.com/CraigB-spinner/Arcade-Spinner
Works just fine - essentially turns the spinner (and trackball) into a mouse. I just use some dupont connectors from the pro micro directly to the spinners pcb.
Works via mister and mame. In mister, I did...