Tuesday, April 22, 2014

SEGA Gamepad Emulation Using Wired Wii Nunchuck

Made with a Teensy 2.0 in the Arduino IDE using the Teensyduino add-on.

The hardware set up is simple - the Nunchuck accessory end has four connections (ground, 5V, data, clock). These should be connected to Teensy power and digital pins 5 and 6 - 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/chuckJoy/chuckJoy.ino