Closed pituluk closed 3 months ago
Doesnt work properly on windows
You've mentioned Windows, should I assume you've tried other platforms (Linux-libusb/Linux-hidraw/macOS) and it works fine?
it found only 2 out of 3 devices
while (iterable->next)
{
// ...
iterable = iterable->next;
}
Of course you missed one device. It is returned by hid_enumerate
. You should re-vesiti how your while
loop works with this implementation.
hid_get_input_report doesnt work at all... I dont know why it errors out
That I cannot know as well. Could be many reasons.
I suggest you first try hidapitester.
If your device works with the tool - the problem is with your implementation, you may use hidapitester
as a reference.
If the device/API still doesn't work with the tool - first need to check device descriptor and see if it should work at all the way you're trying to.
I don't see any immediate issue with HIDAPI. This is an issue tracker, not a support forum. Closing this one for now.
If you find a specific issue with HIDAPI (specially if something works on one platform and doens't work on another, e.g. Windows vs Linux vs macOS) - feel free to re-open/open another one.
hid_get_input_report doesnt work at all, error
Get Input/Feature Report DeviceIoControl: (0x00000057)
I dont know why it errors outI know this code sucks btw I return when Col03 is found but even without that if branch it outputs only Col02 Col03 while in dev manager I can find a device with Col01 too