December 03, 2012

Convert two digital joysticks to USB with Arduino

 For those interested in playing retro arcade and console games on a PC - with the original controllers, consider the method published by Arduino forum member olaf in Germany. He provides the code and HID.cpp code to use an Arduino Leonardo (and thus the Freetronics LeoStick) as a USB HID with two digital joysticks. These are the simpler joysticks that have one 'fire' button and one contact each for up, down, left and right - such as:


Good times. So for the code and notes, click here. For various joystick pinouts, click here. And for more, we're on twitter and Google+, so follow us for news and product updates as well.

If recreating your own joystick-USB interface- look no further than the Freetronics LeoStick. Apart from being one of the smallest Arduino-compatibles on the market with USB, it also has an onboard RGB LED and piezo for sound and knock detection:



Leave a comment

Comments have to be approved before showing up.