Skip to content

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 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