diff options
author | Brad Davis <[email protected]> | 2013-10-10 23:37:45 -0700 |
---|---|---|
committer | Brad Davis <[email protected]> | 2013-10-10 23:37:45 -0700 |
commit | 881daef0cb99477da21235c8d0924de15990441b (patch) | |
tree | 26b3393d138711244b3b9ea7ae95980c76ce1d9f /LibOVR/Src/OVR_Linux_HIDDevice.cpp | |
parent | e88dfc0fb802102d27d372457299761b39f05fb9 (diff) | |
parent | 5eb50183c96f699557f071878efb6e18df24727d (diff) |
Merging in official SDK 0.2.5 changes
Diffstat (limited to 'LibOVR/Src/OVR_Linux_HIDDevice.cpp')
-rw-r--r-- | LibOVR/Src/OVR_Linux_HIDDevice.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/LibOVR/Src/OVR_Linux_HIDDevice.cpp b/LibOVR/Src/OVR_Linux_HIDDevice.cpp index 062d566..c07c1ad 100644 --- a/LibOVR/Src/OVR_Linux_HIDDevice.cpp +++ b/LibOVR/Src/OVR_Linux_HIDDevice.cpp @@ -173,6 +173,11 @@ bool HIDDeviceManager::initVendorProductVersion(udev_device* device, HIDDeviceDe else return false; + if (getIntProperty(device, "bcdDevice", &result)) + pDevDesc->VersionNumber = result; + else + return false; + return true; } |