GitPedia
libusb

libusb/hidapi

A Simple cross-platform library for communicating with HID devices

13 Releases
Latest: 1y ago
hidapi-0.15.0Latest
YouwYouw·1y ago·May 18, 2025
GitHub

📋 Changes

  • hidapi.dll
  • hidapi.lib
hidapi-0.14.0
YouwYouw·3y ago·May 22, 2023
GitHub

📋 Changes

  • hidapi.dll
  • hidapi.lib
hidapi-0.13.1
YouwYouw·3y ago·January 9, 2023
GitHub

📋 Changes

  • hidraw: fix invalid read past the UDEV buffer;
  • hidapi.dll
  • hidapi.lib
hidapi-0.13.0
YouwYouw·3y ago·January 5, 2023
GitHub

📋 Changes

  • 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);
  • + 2 more
hidapi-0.12.0
YouwYouw·4y ago·May 25, 2022
GitHub

📋 Changes

  • Windows: migrate from SetupApi to CfgMgr32 (#362) - as per [recommendation](https://docs.microsoft.com/en-us/windows-hardware/drivers/install/porting-from-setupapi-to-cfgmgr32) 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;
  • + 4 more
hidapi-0.12.0-rc2Pre-release
YouwYouw·4y ago·May 11, 2022
GitHub

📋 Changes

  • Fixes found in v0.12.0-RC1 (#409);
  • windows: Add .rc (#415);
hidapi-0.12.0-rc1Pre-release
YouwYouw·4y ago·May 3, 2022
GitHub

📋 Changes

  • Windows: migrate from SetupApi to CfgMgr32 (#362) - as per [recommendation](https://docs.microsoft.com/en-us/windows-hardware/drivers/install/porting-from-setupapi-to-cfgmgr32) 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
YouwYouw·4y ago·January 3, 2022
GitHub

📋 Changes

  • 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
YouwYouw·4y ago·September 28, 2021
GitHub

📋 Changes

  • 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);
  • + 7 more
hidapi-0.10.1
YouwYouw·5y ago·November 24, 2020
GitHub

📋 Changes

  • 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
YouwYouw·5y ago·October 25, 2020
GitHub

📋 Changes

  • 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;
  • + 3 more
hidapi-0.9.0
QbiczQbicz·7y ago·June 19, 2019
GitHub

📋 Changes

  • hidapi.dll
  • hidapi.lib
hidapi-0.9.0-rc1Pre-release
QbiczQbicz·7y ago·June 18, 2019
GitHub

Tagged for 0.9.0-rc1