sharpdx / SharpDX

SharpDX GitHub Repository
http://sharpdx.org
MIT License
1.68k stars 642 forks source link

DirectInput.GetDevices(DeviceType deviceType, DeviceEnumerationFlags deviceEnumFlags) takes very long time #1128

Open TheIronWolfModding opened 5 years ago

TheIronWolfModding commented 5 years ago

We are using DirectInput.GetDevices to enumerate available devices on user's machines. We recently discovered, that on some machines GetDevices takes very long time (minutes) to enumerate devices.

Unfortunately, we do not have local repro we don't even know what configurations cause this. Is there anything we could do to improve this scenario? Any insights into why this could possibly be happening? Thanks!