I believe MameWah allows a mouse to be used to move the game selection cursor, and the P1 button selects the game. I assume your spinner is connected like a mouse to your PC. You're also going to have to configure MAME to allow you to exit, such as pressing P1 and P2 simultaneously.
Mario