Arudino sketch mapping nes controller to keyboard with debouncing
Mapping:
KEY_LEFT_ARROW // NES Controller A Button
KEY_RIGHT_ARROW // NES Controller B Button
KEY_F // NES Controller Select Button
KEY_J // NES Controller Enter Button
KEY_W // NES Controller Up Button
KEY_S // NES Controller Down Button
KEY_A // NES Controller Left Button
KEY_D // NES Controller Right Button
http://web.mit.edu/tarvizo/web/nes-controller.html http://web.archive.org/web/20041220111455/http://web.mit.edu/tarvizo/web/nes-controller.html https://www.nesdev.org/wiki/4021