hidapi icon indicating copy to clipboard operation
hidapi copied to clipboard

A Simple cross-platform library for communicating with HID devices

Results 109 hidapi issues
Sort by recently updated
recently updated
newest added

A rare combination of building HIDAPI on macOS as a standalone package (potentially to be installed somewhere in the system) but as a macOS Framework (as opposed to just Shared/Dylib...

macOS
CMake

This PR provides a solution to the possible issues that happen when a register or de-register call is made from inside a callback. The way it works is the same...

enhancement

Where hid_get_input_report() was already available for some time, hid_send_output_report() was still missing. We have used our own fork with this function added for a couple of years now, but believe...

enhancement

A small concern here: calling any Register or Unregister functions from within a callback may (and probably will) cause a deadlock. On Windows, Critical Sections seem to keep an internal...

enhancement

Resolves: #238

enhancement

Hi, could please someone give a hint: is it possible to increase timeout for send_feature_report() on Windows? I have the device, which takes a more than 5 sec sometimes for...

enhancement
question
Windows

One of the known thread-safety-related limitations on MacOS is that hid_init and hid_exit have to be called on the same thread. The only thing hid_exit really does there is destroy...

macOS

[Warnings are errors](https://dev.solita.fi/2014/03/26/warnings-are-errors.html), people! ``` linux/hidapi/hid.c:23: warning: "_GNU_SOURCE" redefined 23 | #define _GNU_SOURCE /* needed for wcsdup() before glibc 2.10 */ | : note: this is the location of the...

hidraw

Clang produces the following warnings: ![image](https://github.com/libusb/hidapi/assets/6378571/3b7bab7d-c11d-4798-b5e2-822811b6f63d) It might be a good idea to address them to avoid seemingly random crashes. Additionally, the kernel error returned in HID device path generation...

macOS

I have seen other applications using `flock` on their open `hidraw` file descriptors to open them exclusively. This is not the default for `hidapi` but I am not asking for...

enhancement
hidraw