Skip to content

Tags

Tags

hidapi-0.16.0

Toggle hidapi-0.16.0's commit message
general: add hid_read_interrupt(), hid_is_read_interrupted(), and hid…

…_read_clear_interrupt() for read interruption (#799)

general: add hid_set_num_input_buffers() for configuring input report buffering (#787)

FreeBSD: add a native hidraw backend (#730)

libusb: implement error reporting, including hid_libusb_error() (#708)
libusb: add configurable timeouts for writes, output reports, and feature reports (#832)
libusb: handle input reports larger than a USB packet (#728)
libusb: handle read-thread creation failure without hanging device opening (#843)

hidraw: add support for BUS_VIRTUAL (#745)
hidraw: populate release_number from HID_FIRMWARE_VERSION when supplied by the Linux kernel (#847)

winapi: fix duplicate-symbol warnings in static CMake builds (#809)
winapi: improve C99 and WIN32_LEAN_AND_MEAN compatibility (#810, #768)
winapi: add Visual Studio 2026 support (#771)

macOS: fix compilation with newer Apple Clang (#816)

NetBSD: improve root-hub discovery and iconv compatibility (#780, #779)

general: add HIDAPI_BUILD_AS_CXX for compiling the backends as C++ (#814, #811)
general: improve pkg-config integration (#831)
general: expand automated tests and build coverage
general: various other fixes and improvements

Integration notes:
- Custom HIDAPI_THREAD_MODEL_INCLUDE implementations must make hidapi_thread_create() return int: 0 on success, nonzero on failure (#843; related to #829).
- Applications embedding backend sources must retain the supporting headers and their relative paths, including src/core/hidapi_input_ring.h for macOS/libusb and libusb/hidapi_libusb_report_descriptor.h for libusb.
- Input-buffer configuration resizes queues on macOS, libusb and Windows. Linux/FreeBSD hidraw and NetBSD validate the value but retain kernel-managed buffering.

---
Released hidapi-win.zip includes pre-compiled:
- hidapi.dll
- hidapi.lib
- hidapi.pdb

For x86 and x64 Windows platforms, with the corresponding header files.

hidapi-0.15.0

Toggle hidapi-0.15.0's commit message
general: Add hid_send_output_report() (#677)

general: Add hid_read_error() (#721)

winapi: add hid_winapi_set_write_timeout (#700)
winapi: improvements for hid_get_report_descriptor/hid_winapi_descriptor_reconstruct_pp_data (#707)

hidraw: report only Top-Level Usage_page/Usage pairs as 'unique' devices  (#601)

macOS: add option to mimic 1.0.0 compatibility version (#709)

NetBSD: UHID native backend implementation (#612)

libusb: add abstraction for thread model, allow building using non-POSIX runtime
libusb: enable support for Xbox 360 and Xbox One controllers (#572)

general: various other fixes and improvements

hidapi-0.14.0

Toggle hidapi-0.14.0's commit message

Verified

This tag was signed with the committer’s verified signature. The key has expired.
Youw Ihor Dutchak
general: add `hid_get_report_descriptor` API function (#451)

macOS: fix retrieving USB Interface number on macOS 13.3 (#534)
macOS: Properly handle the close of run loop on macOS (#522)
libusb: fix crash in hid_enumerate() caused by a stale device handle (#526)

windows: alternative way to get USB Serial Number if not provided by HidD_GetSerialNumberString (#464)
windows: don't mark with dllexport in static build (#507/#515)
windows: Get Bluetooth device Model Number String  instead of Device Name into product string (#500)

general: fixes (mostly error handling) of issues found by Coverity Scan (#552/#554/#555/#559/#560/#561)
general: variouse fixes and improvements

hidapi-0.13.1

Toggle hidapi-0.13.1's commit message
- Hotfix for 0.13.0:

  - hidraw: fix invalid read past the UDEV buffer (#497);

hidapi-0.13.0

Toggle hidapi-0.13.0's commit message
- general: add `hid_get_device_info` (#432);

- general: Meson build script (as a wrapper over CMake) (#410);
- general: add HID Bus Type in `hid_device_info` (#308);
- libusb: primary usage_page/usage is now available with `hid_get_device_info` regardless of the compilation flags;
- hidraw: Open files with `O_CLOEXEC` to not leak fds to child processes (#446);
- hidraw: add support for HID over SPI (#486);
- macOS: implement `hid_error` (#314);
- cmake: libusb: Ensure Iconv is found when provided via CFLAGS/LDFLAGS (#430);

Other various improvements.

hidapi-0.12.0

Toggle hidapi-0.12.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
v0.12.0 Release

hidapi-0.12.0-rc2

Toggle hidapi-0.12.0-rc2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
windows: Add .rc (#415)

- Add resource file for DLL;

hidapi-0.12.0-rc1

Toggle hidapi-0.12.0-rc1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Don't use deprecated kIOMasterPortDefault (#406)

`kIOMasterPortDefault` is deprecated since macOS 12.0.
One alternative is to use named constant `kIOMainPortDefault` which is not available before macOS 12.0.

Both named constants are just an alias for `NULL`, so it is simpler to use it directly instead.

Fixes: #377

hidapi-0.11.2

Toggle hidapi-0.11.2's commit message
Fire v0.11.2

hidapi-0.11.1

Toggle hidapi-0.11.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Parse USB interface number from device Hardware IDs (#360)

Strickly speaking we cannot parse interface string at all and only allowed to parse Hardware ID string.