You can use the Joystick shield sits...
You can use the Joystick shield sits on top of your Arduino and turns it into a simple controller. 7 momentary push buttons and a two-axis thumb joystick gives your Arduino functionality on the level of old Nintendo controllers.
Warning: Last items in stock!
The Joystick Shield kit contains all the parts you need to enable your Arduino with a joystick! The shield sits on top of your Arduino and turns it into a simple controller. Five momentary push buttons (4+ joystick select button) and a two-axis thumb joystick gives your Arduino functionality on the level of old Nintendo controllers.
The momentary push buttons are connected to Arduino digital pins 2-6; when pressed they will pull the pin low (utilizing the internal pull-ups of the Arduino). Vertical movement of the joystick will produce a proportional analog voltage on analog pin 0, likewise, horizontal movement of the joystick can be tracked on analog pin 1.
Please visit our wiki page for more info about this product. It will be appreciated if you can help us improve the documents by correcting the errors, adding more demo codes or tutorials.
For technical support, please open a ticket on Itead Support System.
70mm x 54mm