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, clickhere. 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:

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: