Up to [cvs.NetBSD.org] / pkgsrc / comms / libhidapi
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
libhidapi: fix buildlink3.mk and cleanup
libhidapi: update to 0.15.0 pkgsrc changes: - add PLIST_VARS for libhidapi-netbsd (NetBSD HID native backend) - pull iconv(3) const check from libusb version - check both addr 0 and 1 on enumerating devices (see NetBSD PR/60073) Upstream changes: https://github.com/libusb/hidapi/releases/tag/hidapi-0.15.0 general: Add hid_send_output_report() (#677) general: Add hid_read_error() (#721) winapi: add hid_winapi_set_write_timeout (#700) winapi: improvements for hid_get_report_descriptor/hid_winapi_descriptor_reconstruct_pp_data (#707) hidraw: report only Top-Level Usage_page/Usage pairs as 'unique' devices (#601) macOS: add option to mimic 1.0.0 compatibility version (#709) NetBSD: UHID native backend implementation (#612) libusb: add abstraction for thread model, allow building using non-POSIX runtime libusb: enable support for Xbox 360 and Xbox One controllers (#572) general: various other fixes and improvements
*: fix build with cmake 4
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.
libhidapi: fix typo, move darwin files to PLIST.Darwin
libhidapi: hopefully fix build on Linux and Darwin.
libhidapi: pthread
libhidapi: add more dependencies.
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;
libhidapi: Support install on Darwin.
libhidapi: update to 0.11.0 needed for newer mixxx.
libhidapi: Update to 0.9.0 pkg-config and libtool support.
Be lazy and use GITHUB_* variables in WRKSRC and INSTALLATION_DIRS.
Import libhidapi-0.7.0 as comms/libhidapi. 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.