Raspberry Pi GPIO-to-USB utility for classic game emulators.  How-to: http://learn.adafruit.com/retro-gaming-with-raspberry-pi  Pre-built version supports the default pin/key mapping shown in the tutorial. For other layouts, edit retrogame.c. -
View it on GitHub