Loyal J made a cool USB pinball controller, Pinbox Jr, to use on your PC.
The Pinbox JR is a USB controller that gives PC games the feel of playing on a real pinball table. It interfaces with a PC as a USB keyboard and maps the pinball buttons to various keys on the keyboard. The latest version of the Pinbox Jr includes an accelerometer to simulate the tilt feature if you shake the controller.
Code for the project can be found on Github