Fix simple errors.
More work has to be done.
This commit is contained in:
@@ -105,7 +105,7 @@ void MouseDevice::GetButtonPresses( vector<DeviceInput>& vPresses, IOHIDElementC
|
|||||||
vPresses.push_back( DeviceInput(DEVICE_MOUSE, iter->second, value, now) );
|
vPresses.push_back( DeviceInput(DEVICE_MOUSE, iter->second, value, now) );
|
||||||
}
|
}
|
||||||
|
|
||||||
void MouseDeviceDevice::GetDevicesAndDescriptions( vector<InputDeviceInfo>& vDevices ) const
|
void MouseDevice::GetDevicesAndDescriptions( vector<InputDeviceInfo>& vDevices ) const
|
||||||
{
|
{
|
||||||
vDevices.push_back( InputDeviceInfo(DEVICE_MOUSE, "Mouse") );
|
vDevices.push_back( InputDeviceInfo(DEVICE_MOUSE, "Mouse") );
|
||||||
}
|
}
|
||||||
@@ -22,8 +22,8 @@ private:
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
bool AddLogicalDevice( int usagePage, int usage );
|
bool AddLogicalDevice( int usagePage, int usage );
|
||||||
void AddElement( int usagePage, int usage, IOHIDElementCookie cookie, const CFDictionaryRef properties )
|
void AddElement( int usagePage, int usage, IOHIDElementCookie cookie, const CFDictionaryRef properties );
|
||||||
void Open()
|
void Open();
|
||||||
|
|
||||||
// just in case -aj
|
// just in case -aj
|
||||||
Mouse GetMouse(){ return m_Mouse; }
|
Mouse GetMouse(){ return m_Mouse; }
|
||||||
|
|||||||
Reference in New Issue
Block a user