lilypad: Fix missing call to HidD_GetHidGuid

I accidentally removed it in a previous commit. It probably didn't
affect anyone though (you'd need to be using a DS3 via libusb, most
people will be using other methods).
This commit is contained in:
Jonathan Li 2016-06-05 20:00:08 +01:00
parent 2b00447a43
commit 292c6810ad
1 changed files with 1 additions and 0 deletions

View File

@ -24,6 +24,7 @@ int FindHids(HidDeviceInfo **foundDevs, int vid, int pid) {
GUID GUID_DEVINTERFACE_HID;
int numFoundDevs = 0;
*foundDevs = 0;
HidD_GetHidGuid(&GUID_DEVINTERFACE_HID);
HDEVINFO hdev = SetupDiGetClassDevs(&GUID_DEVINTERFACE_HID, 0, 0, DIGCF_PRESENT | DIGCF_DEVICEINTERFACE);
if (hdev != INVALID_HANDLE_VALUE) {
SP_DEVICE_INTERFACE_DATA devInterfaceData;