./comms/libhidapi, Library for comunicating with bluetooth and usb hid devices

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.14.0, Package name: libhidapi-0.14.0, Maintainer: nathanialsloss

HIDAPI is a multi-platform library which allows an application to interface
with USB and Bluetooth HID-Class devices on Windows, Linux, and Mac OS X.
On Windows, a DLL is built. On other platforms (and optionally on Windows),
the single source file can simply be dropped into a target application.

HIDAPI has four back-ends:
* Windows (using hid.dll)
* Linux/hidraw (using the Kernel's hidraw driver)
* Linux/libusb (using libusb-1.0)
* Mac (using IOHidManager)

This package includes only the libusb backend.


Required to run:
[devel/libusb1]

Master sites:

Filesize: 340.06 KB

Version history: (Expand)


CVS history: (Expand)


   2025-08-20 13:35:15 by Thomas Klausner | Files touched by this commit (242)
Log message:
*: fix build with cmake 4
   2023-07-07 10:07:12 by =?UTF-8?B?RnLDqWTDqXJpYyBGYXViZXJ0ZWF1?= | Files touched by this commit (1)
Log message:
libhidapi: Fix PLIST for Darwin
   2023-05-23 19:54:04 by nikita | Files touched by this commit (4) | Package updated
Log message:
libhidapi: update to version 0.14.0

Changelog (taken from https://github.com/libusb/hidapi/releases/tag/hidapi-0.14.0):

hidapi-0.14.0
d3013f0

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

Released hidapi-win.zip includes pre-compiled:

    hidapi.dll
    hidapi.lib

For x86 and x64 Windows platforms.
And header file(s) for it.
   2023-05-18 11:04:59 by nikita | Files touched by this commit (4)
Log message:
libhidapi: fix typo, move darwin files to PLIST.Darwin
   2023-05-17 16:58:30 by nikita | Files touched by this commit (1)
Log message:
libhidapi: increase bl3 abi+api version
   2023-05-17 15:26:35 by nikita | Files touched by this commit (2)
Log message:
libhidapi: hopefully fix build on Linux and Darwin.
   2023-05-15 18:31:38 by nikita | Files touched by this commit (1)
Log message:
libhidapi: pthread
   2023-05-10 22:15:10 by Nikita | Files touched by this commit (2)
Log message:
libhidapi: add more dependencies.