mirror of
https://github.com/RPCS3/hidapi.git
synced 2026-01-31 01:25:21 +01:00
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.