Namco's "ball" joystick

How would I do this?

re wire the buttons and stick to a PCB, look it up in the big custom arcade stick thread.