Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug: enumerate all Windows HID devices #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

achin
Copy link

@achin achin commented Jul 3, 2019

Thanks for publishing purejavahidapi to Maven! It's been really helpful. I found a bug where the Windows backend wouldn't enumerate all HID devices. Please see the attached commit for a bug fix.


WindowsBackend.enumerateDevices() stops enumerating after a device fails to open. It should continue enumerating the other remaining devices. See original behavior in hidapi. https://github.com/signal11/hidapi/blob/hidapi-0.8.0-rc1/windows/hid.c#L371

WindowsBackend.enumerateDevices() stops enumerating after a device fails to open. It should continue enumerating the other remaining devices. See original behavior in hidapi. https://github.com/signal11/hidapi/blob/hidapi-0.8.0-rc1/windows/hid.c#L371
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant