no more mousewheel (should be using z axis)
This commit is contained in:
@@ -74,7 +74,6 @@ void MouseDevice::AddElement( int usagePage, int usage, IOHIDElementCookie cooki
|
||||
{
|
||||
const DeviceButton buttonID = enum_add2( MOUSE_LEFT, usage - kHIDUsage_Button_1 );
|
||||
|
||||
bool mouseWheel = (buttonID == MOUSE_WHEELUP || buttonID == MOUSE_WHEELDOWN);
|
||||
if( buttonID <= MOUSE_MIDDLE )
|
||||
m_Mapping[cookie] = buttonID;
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user