Tags: RPCS3/hidapi
Tags
general: add `hid_get_report_descriptor` API function (signal11#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 (signal11#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
- Hotfix for 0.13.0: - hidraw: fix invalid read past the UDEV buffer (#497);
- general: add `hid_get_device_info` (signal11#432); - general: Meson build script (as a wrapper over CMake) (signal11#410); - general: add HID Bus Type in `hid_device_info` (signal11#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 (signal11#446); - hidraw: add support for HID over SPI (signal11#486); - macOS: implement `hid_error` (signal11#314); - cmake: libusb: Ensure Iconv is found when provided via CFLAGS/LDFLAGS (signal11#430); Other various improvements.
windows: Add .rc (signal11#415) - Add resource file for DLL;
Don't use deprecated kIOMasterPortDefault (signal11#406) `kIOMasterPortDefault` is deprecated since macOS 12.0. One alternative is to use named constant `kIOMainPortDefault` which is not available before macOS 12.0. Both named constants are just an alias for `NULL`, so it is simpler to use it directly instead. Fixes: signal11#377
Parse USB interface number from device Hardware IDs (signal11#360) Strickly speaking we cannot parse interface string at all and only allowed to parse Hardware ID string.
Add <root>/libusb to includes for in-tree build Otherwise it is impossible to `#include <hidapi_libusb.h>`, when HIDAPI is added directly as a subdirectory of a CMake project.
add libusb-specific hid_libusb_wrap_sys_device Rationale: on Android one must use UsbManager, to access any USB device. As a result, libraries like libusb can only use file descriptors that are provided by UsbManager. libusb has an API to use such file descriptors: hid_libusb_wrap_sys_device. Having hid_libusb_wrap_sys_device currently is the only way to make hidapi work on Android without root access and without custom Android builds. Relevant info: https://github.com/libusb/libusb/pull/830/files
PreviousNext