libhid is a user-space HID access library. It provides a generic and flexible way to access and interact with USB HID devices, much like libusb does for plain USB devices. It is based on libusb, thus it requires no HID support in the kernel. Furthermore, it aims to support all operating system supported by libusb: Linux, BSD, OS X, and Windows. Python bindings are provided, and other high-level bindings are available upon request.
| Tags | Software Development Libraries Python Modules |
|---|---|
| Licenses | GPL |
| Operating Systems | POSIX Linux BSD OpenBSD NetBSD FreeBSD Windows Windows Mac OS X |
| Implementation | Python C |
| Translations | English |
Recent releases


Release Notes: This release of libhid adds a few new functions and a new Python HID wrapper library, but it is mostly a maintenance release.


Release Notes: A bug which would prevent usage of multiple USB interfaces with the same HID instance was fixed.


Release Notes: Interrupt reading for HID has been added.


Release Notes: This release works with newer swig releases, and can build with gcc 4 and on AMD-64.


Release Notes: Other than some code cleanup and some minor bugfixes, the changes centered around fixing aspects of the autotools configuration and adding comments to the example code, which should make using libhid a lot easier in the absence of proper docs. Also, a Python example is now included.