easing scope was a no go
This commit is contained in:
@@ -36,14 +36,12 @@ void MouseDevice::AddElement( int usagePage, int usage, IOHIDElementCookie cooki
|
||||
return;
|
||||
|
||||
Mouse& m = m_Mouse;
|
||||
|
||||
int iMin = 0;
|
||||
int iMax = 0;
|
||||
switch( usagePage )
|
||||
{
|
||||
case kHIDPage_GenericDesktop:
|
||||
{ // ease scope
|
||||
int iMin = 0;
|
||||
IntValue( CFDictionaryGetValue(properties, CFSTR(kIOHIDElementMinKey)), iMin );
|
||||
int iMax = 0;
|
||||
IntValue( CFDictionaryGetValue(properties, CFSTR(kIOHIDElementMaxKey)), iMax );
|
||||
|
||||
// based on usage
|
||||
@@ -68,7 +66,6 @@ void MouseDevice::AddElement( int usagePage, int usage, IOHIDElementCookie cooki
|
||||
//LOG->Warn( "Unknown usagePage usage pair: (kHIDPage_GenericDesktop, %d).", usage );
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
case kHIDPage_Button:
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user