Nes-1 Very detailed article (this goes well with the NES PC)…create your very own USB NES Controller. However, if you are not interested in HOW it is done and just want the HEX files and the schematic, you can skip to the end. Link.