Python Xbox Controller Mac

Working on a raspberry pi based robot car right now and wanted to get an xbox controller to control it.

Tried using the python package inputs. Didn’t work

Had to uninstall and reinstall latest version of mac xbox driver

https://github.com/360Controller/360Controller

PyGame ended up working. Then Pickling to serialize and pumping over udp. Here’s the sending and receiving program.

 

 

 

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *