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 20:20:40 -0700
commit721125e71cb600f95568e2fa841b6ec184b8901f (patch)
treecd63e30cc3973d07e1b218814dd22eeb8454071e /Samples/CommonSrc/Platform/OSX_Gamepad.cpp
parentae38fe673d543ddd00cbceacd097412c22fb545d (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);