snes-controller is a node package that exposes events for every button on the SNES controller.