./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)


   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.
   2023-05-10 18:56:38 by Nikita | Files touched by this commit (3) | Package updated
Log message:
libhidapi: update to version 0.13.1

Change build-system to cmake, autotools is deprecated upstream.

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

hidapi-0.13.1

    hidraw: fix invalid read past the UDEV buffer;

hidapi-0.13.0

    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

    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;

hidapi-0.11.2

    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;