Skip to content

Windows: enumerate simple devices - #8

Merged
Qbicz merged 1 commit into
libusb:masterfrom
Qbicz:enumerate_non_composite
Jun 7, 2019
Merged

Windows: enumerate simple devices#8
Qbicz merged 1 commit into
libusb:masterfrom
Qbicz:enumerate_non_composite

Conversation

@Qbicz

@Qbicz Qbicz commented Jun 5, 2019

Copy link
Copy Markdown
Member

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 filip.kubicz@nordicsemi.no

@Qbicz

Qbicz commented Jun 5, 2019

Copy link
Copy Markdown
Member Author

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 <filip.kubicz@nordicsemi.no>
@Qbicz
Qbicz requested review from Youw and todbot 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