mirror of
https://github.com/RPCS3/hidapi.git
synced 2026-07-21 00:45:21 -04:00
44f9df5ec1
Windows will enumerate a device before the driver has been attached to that device. This is problematic, and causes hangups on Windows 7 (possibly othes) when the device is opened before a driver is attached and then closed. This patch makes sure that a driver has been attached to the device before putting it in the enumeration list.