From cf0441a1dc790d6fdca7400a7db7a939c2fa6000 Mon Sep 17 00:00:00 2001 From: Brad Davis Date: Thu, 10 Oct 2013 23:31:48 -0700 Subject: Adding Linux 0.2.5 changes --- LibOVR/Src/OVR_LatencyTestImpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'LibOVR/Src/OVR_LatencyTestImpl.cpp') diff --git a/LibOVR/Src/OVR_LatencyTestImpl.cpp b/LibOVR/Src/OVR_LatencyTestImpl.cpp index 2bdbd52..4ab28e5 100644 --- a/LibOVR/Src/OVR_LatencyTestImpl.cpp +++ b/LibOVR/Src/OVR_LatencyTestImpl.cpp @@ -463,13 +463,13 @@ bool LatencyTestDeviceCreateDesc::GetDeviceInfo(DeviceInfo* info) const OVR_strcpy(info->ProductName, DeviceInfo::MaxNameLength, HIDDesc.Product.ToCStr()); OVR_strcpy(info->Manufacturer, DeviceInfo::MaxNameLength, HIDDesc.Manufacturer.ToCStr()); info->Type = Device_LatencyTester; - info->Version = 0; if (info->InfoClassType == Device_LatencyTester) { SensorInfo* sinfo = (SensorInfo*)info; sinfo->VendorId = HIDDesc.VendorId; sinfo->ProductId = HIDDesc.ProductId; + sinfo->Version = HIDDesc.VersionNumber; OVR_strcpy(sinfo->SerialNumber, sizeof(sinfo->SerialNumber),HIDDesc.SerialNumber.ToCStr()); } return true; -- cgit v1.2.3