Libusb Hidapi Versions Save

A Simple cross-platform library for communicating with HID devices

hidapi-0.14.0

11 months ago

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:

  • hidapi.dll
  • hidapi.lib

For x86 and x64 Windows platforms. And header file(s) for it.

hidapi-0.13.1

1 year ago
  • hidraw: fix invalid read past the UDEV buffer;

Released hidapi-win.zip includes pre-compiled:

  • hidapi.dll
  • hidapi.lib

For x86 and x64 Windows platforms. And header file(s) for it.

hidapi-0.13.0

1 year ago
  • 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.


Released hidapi-win.zip includes pre-compiled:

  • hidapi.dll
  • hidapi.lib

For x86 and x64 Windows platforms. And header file(s) for it.

hidapi-0.12.0

1 year ago
  • 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:

  • hidapi.dll
  • hidapi.lib

For x86 and x64 Windows platforms. And header file(s) for it.

hidapi-0.12.0-rc2

2 years ago
  • Fixes found in v0.12.0-RC1 (#409);
  • windows: Add .rc (#415);

hidapi-0.12.0-rc1

2 years ago
  • 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;

hidapi-0.11.2

2 years ago
  • hidraw: hid_get_input_report implementation for kernels that supports it (#351);
  • windows: several improvements and bugfixes (#348, #360, #361);
  • libusb: fix potential crash when libusb_detach_kernel_driver fails (#363)
  • general: documentation improvements;

hidapi-0.11.0

2 years ago
  • 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:

  • hidapi.dll
  • hidapi.lib

For x86 and x64 Windows platforms.

hidapi-0.10.1

3 years ago
  • API: fixed strict prototypes for new API;
  • hidraw: Add support for USAGE/USAGE_PAGE (#139);
  • hidraw: Add support for HID over I2C and uhid devices (#166);
  • a few minor improvements/fixes;

hidapi-0.10.0

3 years ago
  • Add API to get compile/runtime version of the library (#192);
  • Add hid_get_input_report API function (#59);
  • Fixes behavior with numbered reports on macOS (#60, #70) caused by #3;
  • Dropped support of Linux kernels lower than 2.6.34 for hidraw backend;
  • Fixed a sometime hang in Windows hid_read;
  • Fixed hid_close hang with some devices on linux/libusb;
  • Fixed crash on macOS 10.15 on hid_close/hid_exit in some environments;
  • Enumerate all device usage/usage pages on macOS;
  • various small fixes and improvements;

Released hidapi-win.zip includes pre-compiled:

  • hidapi.dll
  • hidapi.lib

For x86 and x64 Windows platforms.