Maps inputs for the Xbox Series S controller.
Logs input data in a json file in controller_logs directory
Logs mavlink serialized packets as well
Create a virtual environment install required libraries to it. Then, you can run the program
python3 -m venv venv/
pip3 install -r requirements.txt
python3 controller_reader.py
Enable logging by adding the --log flag
python3 controller_reader.py --log