I\'m currently in the process of making my Nintendo Wiimote (Kinda sad actually) to work with my computer as a mouse. I\'ve managed to make the nunchuk\'s stick control actu
python-uinput is very easy to use.
http://tjjr.fi/software/python-uinput/
Here's an example https://github.com/tuomasjjrasanen/python-uinput/blob/master/examples/mouse.py