A Simple cross-platform library for communicating with HID devices
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: various fixes and improvements
Released hidapi-win.zip includes pre-compiled:
For x86 and x64 Windows platforms. And header file(s) for it.
Released hidapi-win.zip includes pre-compiled:
For x86 and x64 Windows platforms. And header file(s) for it.
hid_get_device_info
(#432);hid_device_info
(#308);hid_get_device_info
regardless of the compilation flags;O_CLOEXEC
to not leak fds to child processes (#446);hid_error
(#314);Other various improvements.
Released hidapi-win.zip includes pre-compiled:
For x86 and x64 Windows platforms. And header file(s) for it.
Windows: migrate from SetupApi to CfgMgr32 (#362) - as per recommendation from Microsoft;
Windows: add hid_winapi_get_container_id
WinAPI-specific function (#379);
Windows: improved error messages (#388);
Windows: fixed out-of-boundary memory access for some of the function (#418);
windows: Add .rc (#415);
macOS: add hid_darwin_get_location_id
macOS-specific function (#378);
macOS: add macOS-specific function(s) to open device(s) in non-exclusive mode (#397);
libusb: improved CMake dependency on Iconv (#405) - as a result, better support for NetBSD;
general: documentation improvements;
general: small code cleanups/improvements;
Released hidapi-win.zip includes pre-compiled:
For x86 and x64 Windows platforms. And header file(s) for it.
Windows: migrate from SetupApi to CfgMgr32 (#362) - as per recommendation from Microsoft;
Windows: add hid_winapi_get_container_id
WinAPI-specific function (#379);
Windows: improved error messages (#388);
macOS: add hid_darwin_get_location_id
macOS-specific function (#378);
macOS: add macOS-specific function(s) to open device(s) in non-exclusive mode (#397);
libusb: improved CMake dependency on Iconv (#405) - as a result, better support for NetBSD;
general: documentation improvements;
general: small code cleanups/improvements;
Windows: improved/fixed enumeration/HID class detection (#235);
Windows: fix device info fetch for Bluetooth LE HID devices (#309);
Windows: correct number of bytes returned by hid_get_feature_report
/hid_get_input_report
for numbered reports (#286, #232, #334);
hidraw: (explicit) workaround to allow build with kernels older than 2.6.39 (#260);
macOS: droped support of macOS 10.5 and earlier (#121);
macOS: stabilize device path (use IORegistryEntryGetRegistryEntryID) (#322)
libusb: stabilize device path (uses same semantic as Linux kernel) (#291);
libusb: add platform-specific hid_libusb_wrap_sys_device
(#280);
general: lots of documentation improvements;
general: (Windows) DDK build files are obsolete;
general: add CMake build system;
general: deprecated Autotools build scripts;
lots of other small fixes and improvements;
NOTE: Starting with this release Autotools build scripts for HIDAPI are deprecated and going to be obsolete in near future. All users of HIDAPI should switch to CMake build scripts instead.
Released hidapi-win.zip includes pre-compiled:
For x86 and x64 Windows platforms.
hid_get_input_report
API function (#59);hid_read
;hid_close
hang with some devices on linux/libusb;hid_close
/hid_exit
in some environments;Released hidapi-win.zip includes pre-compiled:
For x86 and x64 Windows platforms.