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

Hi, guys! I have a problem when sending data to HID devices; it always returns an error: "Error sending data: hidapi error: IOHIDDeviceSetReport failed: (0xE0005000) unknown error code." This error...

question

I think it would generally make sense to store these 3 values in the device structure. On Windows we would have to use the values `InputReportByteLength`, `OutputReportByteLength` and `FeatureReportByteLength` from...

enhancement

**Problem** Sending **feature reports** or **output reports** and receiving responses is currently well-supported by hidapi. However, to handle **input reports** from a device, e.g. to track scroll-wheel-movement, the user has...

enhancement
API

- hid_error is set correctly for most of the API functions (except hid_enumerate/hid_open/etc.); - refactored iconv routines - common code for utf16 and utf8 to wchar_t implementation; - `hid_libusb_error` to...

libusb
Core

I'm using the "hid_enumerate" function call to get a list of all HID devices attached to the system. The problem is (at least on Windows) that the "product name" string...

question

Original issue asked in https://github.com/d3xMachina/BetterJoy/issues/63#issuecomment-3432283691 cant find this [game device](https://private-user-images.githubusercontent.com/18592645/503938285-7625e762-df84-49f6-8d6d-cd539c6dcf92.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NjExNDUwMjksIm5iZiI6MTc2MTE0NDcyOSwicGF0aCI6Ii8xODU5MjY0NS81MDM5MzgyODUtNzYyNWU3NjItZGY4NC00OWY2LThkNmQtY2Q1MzljNmRjZjkyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTEwMjIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUxMDIyVDE0NTIwOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPThlOWZkNzI1ZTE0MzE0YzA3ZDUwNzdmMjE5NDM3MDc0MzdkMzQ4MWExM2UxYmJkYTBiMmQ0OTI4MmQzZDZhNjYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.ElteH0vDltXl2A_LCUOZYgyOTvNuubzUD0S91zdvE1Y) in Windows 11. [log_devices.txt](https://github.com/user-attachments/files/23055250/log_devices.txt) The gamepad is detected with old [BetterJoyForCemuv5](https://private-user-images.githubusercontent.com/18592645/503678720-f20dc128-0870-4e3c-adcb-ed98977c58c2.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NjExNDU1MDMsIm5iZiI6MTc2MTE0NTIwMywicGF0aCI6Ii8xODU5MjY0NS81MDM2Nzg3MjAtZjIwZGMxMjgtMDg3MC00ZTNjLWFkY2ItZWQ5ODk3N2M1OGMyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTEwMjIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUxMDIyVDE1MDAwM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWVmZDY2ODg5OTMyOThiOTAxODc3Y2VhZTZhZjg1ODVlNjBhYTcyMDcwNTQyMDgwN2M3MjJiMzNiYmYxNGE4ZGImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Kw3vC9hmg1Qy1s7NjT0XODAcZS3TsyU5k3MNYCZQ3KI) that have a hidapi.dll from 2018 and gamepad works...

Windows

I used hidapi on Windows to enumerate Bluetooth HID devices and found that the serial number of the Bluetooth HID device is the Bluetooth GAP address, not the actual serial...

Windows

Thanks for picking up the maintenance of hidapi. However, I think 0.15.0 is broken now. Steps to reproduce: * open hid device * periodically call `hid_read()` (I'm using non-blocking version,...

Windows

https://github.com/libusb/hidapi/blob/f18d2c0768bed300d13758dd9f52b57163c0498f/windows/hid.c#L1129C3-L1133C4 This piece of if-judgment code needs to add the call to the CancelIo function. Otherwise, after WaitForSingleObject times out and returns, WriteFile may fail with a certain probability and...

Windows