hidapi
hidapi is an open-source, cross-platform library that provides a simple API for programming USB Human Interface Devices (HID). It abstracts the platform-specific HID APIs behind a consistent C interface, enabling applications to enumerate connected HID devices, open a device by vendor and product identifiers or by a platform-specific path, and exchange input, output, and feature reports.
The library supports Windows, macOS, and Linux (with some BSD ports in practice), and relies on the
Key features include device enumeration (which returns a linked list of hid_device_info structures containing vendor_id, product_id,
Bindings and language support are provided by many bindings and projects, including Python, Java, C#, Go, and