This is a python3 project
Use the setup.sh script
sudo apt-get build-dep python3-pygame
python3 -m pip install wheel python3 -m pip install pygame python3 -m pip install rpio
Because of how we are using pygame, we need to run as root.
sudo python3 rover_controller.py
This should produce something like:
Initialized Sony PLAYSTATION(R)3 Controller
Device has 19 number of buttons