The Qt XInput Extension is a C library adding support for XInput devices (like tablets or joysticks) to Qt-based X11 applications. QXi supports devices with up to six valuator axes in absolute mode, up to 32 buttons, and any number of keys. It is built using autoconf and libtool, and comes with a simple example application.