may want to assign m_Mouse...

This commit is contained in:
AJ Kelly
2011-02-23 19:39:18 -06:00
parent 75e050008b
commit 0a3a47086c
+2 -2
View File
@@ -26,7 +26,7 @@ bool MouseDevice::AddLogicalDevice( int usagePage, int usage )
return false; return false;
} }
// Init only a single mouse for now. // Init only a single mouse for now.
Mouse(); m_Mouse = Mouse();
return true; return true;
} }
@@ -35,7 +35,7 @@ void MouseDevice::AddElement( int usagePage, int usage, IOHIDElementCookie cooki
if( usagePage >= kHIDPage_VendorDefinedStart ) if( usagePage >= kHIDPage_VendorDefinedStart )
return; return;
//ASSERT(m_Mouse); ASSERT(m_Mouse);
Mouse& m = m_Mouse; Mouse& m = m_Mouse;
int iMin = 0; int iMin = 0;
int iMax = 0; int iMax = 0;