summaryrefslogtreecommitdiff
path: root/Externals/hidapi
AgeCommit message (Collapse)Author
2025-09-26Use hidapi-src/windows on MINGW as well as MSVCCraig Carnell
2025-09-26Update hidapi submodule to v0.15.0Craig Carnell
2024-05-06use pkg-config to find libusbGuilherme Janczak
This makes more (but not all) of the compilation process succeed on NetBSD.
2024-03-19CMake: Hide warnings in Externals also for non-msvc.Jordan Woyak
2024-01-30Externals/hidapi: Convert to submoduleMartino Fontana
This also updates to 0.14.0 (https://github.com/libusb/hidapi/commit/d3013f0af3f4029d82872c1a9487ea461a56dee4)
2022-05-30Fix cmake detection of libudev in hidapi broken in #9071Zopolis4
2022-05-22cmake: Disable warnings for most externals on MSVC, like we do in the VS ↵Admiral H. Curtiss
project files.
2021-08-09hidapi: Add new patches to applied patches folderOatmealDome
2021-08-09hidapi: Don't leak device handle in macOS 10.10 or newerOatmealDome
Ported from libusb's hidapi fork. Original patch by Youw (cdc473dfe43f6432dda7ad53d7656b8ae8ff968b).
2021-08-09hidapi: Stop current run loop in removal callback instead of fetching from ↵OatmealDome
context
2021-02-11hidapi: Use LIBUSB_LIBRARIES to link to libusbLéo Lam
Because we have an old-style find script that does not define a proper CMake target for libusb, we need to use ${LIBUSB_LIBRARIES} rather than "usb". Ideally, we would fix the find script to define a target. However, this issue breaks the fifoci-ogl-lin-mesa builder and I'd prefer it to be fixed sooner rather than later.
2021-01-03Externals: Link against required librariesMerryMage
* curl requires zlib * hidapi when not using libudev requires libusb
2018-01-13Added patches for hidapi modificationsVincent Duvert
This allows tracking what modifications were made to the upstream code.
2018-01-07macOS: Add errno setting in set_report (HID)Vincent Duvert
IsDeviceUsable in IOhidapi.cpp uses errno to detect if hid_write failed because of an unconnected Wiimote on a Dolphinbar (it expects errno == EPIPE in this case). macOS’s implementation of hid_write detected this specific error (IOHIDDeviceSetReport returns kUSBHostReturnPipeStalled) but didn’t set errno so the check failed. This add errno assignment to failure cases of macOS’s hid_write.
2018-01-07macOS: Use unique IDs for HID pathsVincent Duvert
If available, use the system-generated unique ID for HID device paths instead of a transport/vid/pid/location tuple. The Mayflash Dolphinbar registers four HID devices (regardless of the number of connected Wiimotes) which had the same path with the previous path building method, causing a bit of confusion when detecting and connecting to Wiimotes. The unique IDs do not change if the computer is suspended and resumed, but do change if the HID device is unplugged/replugged.
2017-06-16Remove unused solution filesLéo Lam
2017-04-27Remove HIDAPI Autotools build system and unused filesMichael Maltese
2017-04-27CMake: clean up HIDAPI buildMichael Maltese
2017-01-21cmake: Build HIDAPI on WindowsFlorent Castelli
2016-10-03WiimoteReal: Add a hidapi IO implementationLéo Lam
Based on ca0c2efe7ab19c85449d52dd1bf4beec8603bbfe. Credits go to flacs. However, unlike the original commit, hidapi does not completely replace the current implementations, so we can still connect Wiimotes with 1+2 (without pairing). Also, it is only used on Linux and OS X for now. This removes the advantage of having only one implementation but there is no other choice: using hidapi on Windows is currently impossible because hid_write() is implemented in a way that won't work with Wiimotes. Additionally: * We now check for the device name in addition to the PID/VID so we can support the Balance Board and maybe third-party Wiimotes too. This doesn't achieve anything with the DolphinBar but it does with hidraw. * Added a check to not connect to the same device more than once.
2016-10-03Externals: add hidapiTillmann Karras
Current master (d17db57b9d4354752e0af42f5f33007a42ef2906) because Android support was added after the current release (0.8.0-rc1).