gecgooden/gamepad ##Build g++ -fpermissive -Wall mcp3008Spi.cpp gamepad.cpp -o gamepad ##References Uses the SPI code developed by Hussam Al-Hertani (https://github.com/halherta/RaspberryPi-mcp3008Spi)