Joystick Linux API wrapper This library is what I use to handle the joystick events in C and Python. We simply register a callback function and get the joystick events from there to be handled. Have a look in the examples/ folder to see how it can be used.