Thursday, May 01, 2014
Made with a Teensy 2.0 in the Arduino IDE using the Teensyduino add-on.
The hardware set up is simple - the SNES controller end has five relevant connections (ground, 5V, data, latch, clock). These should be connected to Teensy power and digital pins 0, 1 and 2 - see below for a photo.
The Teensy pinout can be found here. The Teensy should be set to joystick mode in the Arduino IDE under Tools > USB Type.
The code can be downloaded here: http://milkcrate.com.au/_other/downloads/arduino/SNES_Controller/SNES_Controller.ino