osx input: remove some debug code...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5418 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
ed71457d46
commit
c7634aa8dc
|
@ -53,13 +53,6 @@ Keyboard::Keyboard(IOHIDDeviceRef device)
|
|||
try { inputs.push_back(new Key(e)); }
|
||||
catch (std::bad_alloc&) { /*Thrown if the key is reserved*/ }
|
||||
}
|
||||
|
||||
////
|
||||
NSDictionary *melements;
|
||||
kern_return_t err = kIOReturnSuccess;
|
||||
if ((err = IOHIDDeviceCopyValueMultiple(m_device, elements, (CFDictionaryRef *)&melements)) != kIOReturnSuccess)
|
||||
NSLog(@"FAILBOAT %x", err);
|
||||
////
|
||||
CFRelease(elements);
|
||||
}
|
||||
|
||||
|
|
|
@ -163,12 +163,7 @@ ControlState Mouse::Axis::GetState(IOHIDDeviceRef device)
|
|||
!int_value)
|
||||
return false;
|
||||
|
||||
float actual_value = 0;
|
||||
|
||||
if (int_value < 0)
|
||||
actual_value = abs(int_value) / m_range;
|
||||
else if (int_value > 0)
|
||||
actual_value = int_value / m_range;
|
||||
float actual_value = abs(int_value) / m_range;
|
||||
|
||||
//NSLog(@"%s %i %f", m_name.c_str(), int_value, actual_value);
|
||||
|
||||
|
|
Loading…
Reference in New Issue