I dislocated my left shoulder, and wanted to play "League of Legends" but I couldn't use the keyboard...
However, I could use a PSMove!
So wrote this to map its buttons to keyboard keys, and it worked like a charm 😁
The library in use, to interact the controller is psmoveapi <3.