mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-08 00:59:44 +00: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:
parent
92c98ac5fa
commit
3650ee2fc5
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue