Showing posts with label emulation. Show all posts
Showing posts with label emulation. Show all posts

Tuesday, August 16, 2016

Nintendo Wii Classic Controller as Wired USB Gamepad




Wii Classic Controller as a USB-based HID compatible gamepad via Teensy 2.0.

Hardware setup is four connections:
• Orange wire (Wii controller connection top left) to Teensy SDA pin (Teensy 2.0 pin 6)
• Green wire (Wii controller connection bottom right) to Teensy SCL pin (Teensy 2.0 pin 5)
• Blue wire (Wii controller connection bottom left) to Teensy ground
• Red wire (Wii controller connection top right) to Teensy VCC

Download code here: http://milkcrate.com.au/_other/downloads/arduino/WiiClassicUSB.ino

Sunday, August 23, 2015

Vectrex Controller to USB HID Joystick



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

The hardware set up is simple - the Vectrex controller end has nine pins. These should be connected to the Teensy as follows:

Vectrex pin 1 to Teensy digital pin 0
Vectrex pin 2 to Teensy digital pin 1
Vectrex pin 3 to Teensy digital pin 2 
Vectrex pin 4 to Teensy digital pin 3
Vectrex pin 5 to Teensy analog pin 0 
Vectrex pin 6 to Teensy analog pin 1
Vectrex pin 7 to Teensy 5V
Vectrex pin 8 to Teensy ground
Vectrex pin 9 to Teensy ground

The Teensy pinout can be found here. The Teensy should be set to joystick mode in the Arduino IDE under Tools > USB Type.






Thursday, May 01, 2014

DIY USB SNES Controller Adaptor


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






Sunday, January 27, 2013

Dummy VGM 1.5 Header for YM2612 and SN76489 Data




A version 1.5 VGM heading, with impossible values for [EoF offset] and [Total # samples] fields. A file where the data is intact but the header is clearly a dummy header (such as this one) still works fine - at least in Audio Overload. The header is as follows, and terminates at 0x3F.

56 67 6D 20 00 00 00 00 50 01 00 00 99 9E 36 00 00 00 00 00 00 00 00 00 FF FF FF FF 00 00 00 00 00 00 00 00 3C 00 00 00 09 00 10 00 B5 0A 75 00 00 00 00 00 0C 00 00 00 00 00 00 00 00 00 00 00