Small C library for reading actions from joystick (DInput format)