I'm trying to build a robot using a Raspberry Pi 3, and I would like to control it using a Bluetooth Xbox One controller.
I am able to get the controller connected to my pi. I've verified this by running
sudo jstest /dev/input/js0 . I see numeric values from the various buttons, axes, etc.
I would like to write a python program to control a robot based on this input. Is there a way to incorporate this data into a program?