Hi,
this small adapter allows me to connect a vintage joystick [1] from the C64 aera to my laptop via USB. I use it to play C64 games in VICE [2].
The schematic is very simple:
After prototyping the circuit on a breadboard
I soldered the parts onto a perfboard
and made the interconnections as always by using some isolated relay wire. I'm quite pleased with the outcome:
Please find the firmware attached.
Have fun,
Markus
P.S.: Helpful resources about USB HID are [3] and [4].
[1] http://de.wikipedia.org/wiki/Competition_Pro
[2] http://vice-emu.sourceforge.net/
[3] http://www.engscope.com/pic24-tutorial/ ... -joystick/
[4] http://frank.circleofcurrent.com/cache/ ... rial_1.htm