I was wondering the same thing. I have a trackball, two optical sticks, and two spinners. I had planned on hooking up the trackball, then wiring P1 stick and P1 spinner to X2, the P2 stick and P2 spinner to Y2.
I think I may need MAMEAnalog+. Does this sound like it will work?