mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
OSX build fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5760 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -151,7 +151,7 @@ Mouse::Axis::Axis(IOHIDElementRef element, direction dir)
|
|||||||
m_range = (float)IOHIDElementGetLogicalMax(m_element) / 1000.;
|
m_range = (float)IOHIDElementGetLogicalMax(m_element) / 1000.;
|
||||||
}
|
}
|
||||||
|
|
||||||
ControlState Mouse::Axis::GetState(IOHIDDeviceRef device)
|
ControlState Mouse::Axis::GetState(IOHIDDeviceRef device) const
|
||||||
{
|
{
|
||||||
IOHIDValueRef value;
|
IOHIDValueRef value;
|
||||||
if (IOHIDDeviceGetValue(device, m_element, &value) == kIOReturnSuccess)
|
if (IOHIDDeviceGetValue(device, m_element, &value) == kIOReturnSuccess)
|
||||||
|
Reference in New Issue
Block a user