An Arduino library to read NES controllers
Download the library zip to anywhere on your computer and then Add .ZIP Library
under the Sketch menu in the Arduino IDE.
More detailed instructions on installing libraries can be found here.
If you're looking to read SNES controllers checkout my other library ArduinoSNESController