Code for my home made SNES-to-PC controller adapter