Smack has it pretty well down for a drunk guy.

Since you have optical spinners, I hope you are going to use Mame:Analog+ or (I think) AdvanceMame to be able to remap mouse axis to different players.
1) Without the trackball, I'd put either the spinner or both rotaries on "trackball", the other(s) on "rotary". You most likely should put the rotaries on player 1 X and player 1 Y axes, and the spinner on player 1 X axis. Use Analog+ "-splitmouseaxes" and "-switchmiceaxes" options to split the rotaries to the different players; AdvanceMame does it a different way.
If you have a USB optipac and winME/98, you could put the rotaries on different players X axis and use "-switchablemice" but don't use "-splitmouseaxes".2) As long as you don't plan on using the rotaries at the same time as the trackball, I'd put the trackball on player 1 trackball, the rotaries on player 1 rotary, and the spinner on player 2 rotary. If you don't plan on two trackballs at the same time, nor the spinner and the rotaries at the same time, use the "-singlemouse" and, again, "-splitmouseaxes" and "-switchmiceaxes" options for analog+.