Software for the Arduino Leonardo and Arduino Micro that allow these devices to become USB adaptors for classic game console joysticks (e.g. Atari 2600, ColecoVision, and Coleco ADAM game controllers).
For Arduino IDE Version 1.6.5 or earlier, please use the Arduino-1.6.5 branch. I do not plan on making future enhancements to this branch, but I have left it available for reference and people who are still using the Arduino IDE verstion 1.6.5 or earlier.
For Arduino IDE Version 1.6.6 or later, please use the main branch. This is the branch that will see future updates.
This Arduino sketch file depends on Version 1.0 of the Arduino Joystick Library which can be found on GitHub at MHeironimus/ArduinoJoystickLibrary.
It also depends on the Classic Controller Library, which can be found in this GitHub repository at /source/libraries/ClassicController.
Please see the Ultimate Classic Game Console Joystick to USB Adapter blog posting or the Ultimate Classic Game Console Joystick to USB Adapter Instructable for details on how to build your own Ultimate Classic Game Console Joystick USB Adaptor.