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

Windows: enumerate simple devices #8

Merged
merged 1 commit into from
Jun 7, 2019

Conversation

Qbicz
Copy link
Member

@Qbicz Qbicz commented Jun 5, 2019

Right now, in hid_open it is checked if the connected devices have
"HIDClass" driver name. This is true for composite devices, but some
simple HID devices only have "Mouse" or "Keyboard" driver name.

One of devices that cannot be opened is Dell MS116t, but any mouse which
is not part of composite device can be affected.

With this change, one can enumerate and open these devices.

Signed-off-by: Kubicz, Filip [email protected]

@Qbicz
Copy link
Member Author

Qbicz commented Jun 5, 2019

Originally pull request signal11/hidapi#418

Right now, in hid_open it is checked if the connected devices have
"HIDClass" driver name. This is true for composite devices, but some
simple HID devices only have "Mouse" or "Keyboard" driver name.

One of devices that cannot be opened is Dell MS116t, but any mouse which
is not part of composite device can be affected.

With this change, one can enumerate and open these devices.

Signed-off-by: Kubicz, Filip <[email protected]>
@Qbicz Qbicz requested review from todbot and Youw June 5, 2019 13:35
@Qbicz Qbicz merged commit 76d4ffd into libusb:master Jun 7, 2019
@Qbicz Qbicz deleted the enumerate_non_composite branch June 7, 2019 06:33
@mcuee mcuee added the Windows Related to Windows backend label Jul 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Windows Related to Windows backend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants