summaryrefslogtreecommitdiffstats
path: root/Samples/CommonSrc/Platform/OSX_Gamepad.cpp
diff options
context:
space:
mode:
authorBrad Davis <[email protected]>2013-08-17 20:20:40 -0700
committerBrad Davis <[email protected]>2013-08-17 22:15:49 -0700
commitb7881820101f4a62f4c18b8dde8c03d4dc23f3ac (patch)
tree1999c5ef6c1f48891f0ee777d3df08fa364f0534 /Samples/CommonSrc/Platform/OSX_Gamepad.cpp
parent0014a4c5182dcb951b279648c668559ce3e5f54b (diff)
Adding windows 0.2.4 changes
Diffstat (limited to 'Samples/CommonSrc/Platform/OSX_Gamepad.cpp')
-rw-r--r--Samples/CommonSrc/Platform/OSX_Gamepad.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Samples/CommonSrc/Platform/OSX_Gamepad.cpp b/Samples/CommonSrc/Platform/OSX_Gamepad.cpp
index 96219e4..934319b 100644
--- a/Samples/CommonSrc/Platform/OSX_Gamepad.cpp
+++ b/Samples/CommonSrc/Platform/OSX_Gamepad.cpp
@@ -204,6 +204,7 @@ void GamepadManager::onDeviceValueChanged(IOHIDValueRef value)
int vendorID = getIntDeviceProperty(device, CFSTR(kIOHIDVendorIDKey));
int productID = getIntDeviceProperty(device, CFSTR(kIOHIDProductIDKey));
+ OVR_UNUSED(productID);
uint32_t usagePage = IOHIDElementGetUsagePage(element);
uint32_t usage = IOHIDElementGetUsage(element);