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

Instead of having a single `hid_init()`/`hid_exit()` we need to have independent HIDAPI contexts, so that HIDAPI can be used by different threads/modules independently. e.g.: ```c struct hidapi_context; int hidapi_initialize(struct hidapi_context**...

enhancement
Core

In the last few years more recent builds of Windows 10 have gained better and better support for UTF8. It may be possible to switch to the char based APIs...

enhancement
Windows

I was curious about the pragmatics of supporting various BSDs. There seems to be a fairly common API for HID over USB on most common BSDs called `usbhid` which is...

enhancement
bsd

I noticed while implementing the NetBSD backend that each platform has different defaults. `hidraw` has no locking by default. `uhid` has mandatory locking in most implementations. I don't know what...

enhancement
bsd

pls check it! ``` if (hid_init()) return; hid_hotplug_register_callback(0x0213, 0xA22C, HID_API_HOTPLUG_EVENT_DEVICE_ARRIVED | HID_API_HOTPLUG_EVENT_DEVICE_LEFT, HID_API_HOTPLUG_ENUMERATE, device_callback, NULL, &token2); ```

question
Author does not respond

as the title show, I use hidapi (libusb/hid.c) to communicate with my usb hid device on android, sometimes, I call hid_close will stuck, It stuck at `hidapi_thread_join(&dev->thread_state); ` and when...

Android

Reference/sample: https://github.com/libusb/libusb/pull/1294

enhancement
build system/CI

Discusison here: * https://github.com/libusb/hidapi/issues/478#issuecomment-1592131366 * https://github.com/libusb/hidapi/issues/478#issuecomment-1592887588 As @todbot mentioned, this has been an issue bugging him. Same for me. Testing device: Circuit Python rawhid example, no report IDs. * https://github.com/adafruit/Adafruit_CircuitPython_HID/issues/115#issuecomment-1587535723...

documentation

This is a clean-up of #590. * #590 It will be good to have a list of known-good firmware to test hidapi. It is also good to have virtual HID...

documentation
enhancement
build system/CI

Dear hidapi authors/maintainers, I have recently implemented a C++23 wrapper for hidapi here: https://github.com/acdemiralp/hid.hpp I just wanted to let you know and ask for feedback in case you have time...

documentation
enhancement