summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/Src/ControllerInterface/OSX
diff options
context:
space:
mode:
authorj4ck.fr0st <j4ck.fr0st@gmail.com>2010-06-21 17:15:42 +0000
committerj4ck.fr0st <j4ck.fr0st@gmail.com>2010-06-21 17:15:42 +0000
commit3650ee2fc52a5d53bfdc6cb2292229c4b04c8578 (patch)
tree9de901e4c8e895a57525c932bfbce4a2576e5f8a /Source/Core/InputCommon/Src/ControllerInterface/OSX
parent92c98ac5fa99ab9ef52e67f0dfc3ea404b0d9a18 (diff)
OSX build fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5760 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/InputCommon/Src/ControllerInterface/OSX')
-rw-r--r--Source/Core/InputCommon/Src/ControllerInterface/OSX/OSXMouse.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/InputCommon/Src/ControllerInterface/OSX/OSXMouse.mm b/Source/Core/InputCommon/Src/ControllerInterface/OSX/OSXMouse.mm
index 22746bfc24..ed2a3186c5 100644
--- a/Source/Core/InputCommon/Src/ControllerInterface/OSX/OSXMouse.mm
+++ b/Source/Core/InputCommon/Src/ControllerInterface/OSX/OSXMouse.mm
@@ -151,7 +151,7 @@ Mouse::Axis::Axis(IOHIDElementRef element, direction dir)
m_range = (float)IOHIDElementGetLogicalMax(m_element) / 1000.;
}
-ControlState Mouse::Axis::GetState(IOHIDDeviceRef device)
+ControlState Mouse::Axis::GetState(IOHIDDeviceRef device) const
{
IOHIDValueRef value;
if (IOHIDDeviceGetValue(device, m_element, &value) == kIOReturnSuccess)