aboutsummaryrefslogtreecommitdiffstats
path: root/LibOVR/Src/OVR_Win32_HIDDevice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'LibOVR/Src/OVR_Win32_HIDDevice.cpp')
-rw-r--r--LibOVR/Src/OVR_Win32_HIDDevice.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/LibOVR/Src/OVR_Win32_HIDDevice.cpp b/LibOVR/Src/OVR_Win32_HIDDevice.cpp
index 28a47f0..5017760 100644
--- a/LibOVR/Src/OVR_Win32_HIDDevice.cpp
+++ b/LibOVR/Src/OVR_Win32_HIDDevice.cpp
@@ -13,6 +13,8 @@ otherwise accompanies this software in either electronic or hard copy form.
*************************************************************************************/
+#pragma comment(lib, "setupapi.lib")
+
#include "OVR_Win32_HIDDevice.h"
#include "OVR_Win32_DeviceManager.h"
@@ -21,6 +23,7 @@ otherwise accompanies this software in either electronic or hard copy form.
namespace OVR { namespace Win32 {
+
//-------------------------------------------------------------------------------------
// HIDDevicePathWrapper is a simple class used to extract HID device file path
// through SetupDiGetDeviceInterfaceDetail. We use a class since this is a bit messy.