Log actually adding to the queue.
This commit is contained in:
@@ -163,7 +163,10 @@ void KeyboardDevice::AddElement( int usagePage, int usage, IOHIDElementCookie co
|
|||||||
void KeyboardDevice::Open()
|
void KeyboardDevice::Open()
|
||||||
{
|
{
|
||||||
for( hash_map<IOHIDElementCookie,DeviceButton>::const_iterator i = m_Mapping.begin(); i != m_Mapping.end(); ++i )
|
for( hash_map<IOHIDElementCookie,DeviceButton>::const_iterator i = m_Mapping.begin(); i != m_Mapping.end(); ++i )
|
||||||
|
{
|
||||||
|
LOG->Trace( "Adding %s to queue, cookie %p", DeviceButtonToString(i->second).c_str(), i->first );
|
||||||
AddElementToQueue( i->first );
|
AddElementToQueue( i->first );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void KeyboardDevice::GetButtonPresses( vector<DeviceInput>& vPresses, IOHIDElementCookie cookie, int value, const RageTimer& now ) const
|
void KeyboardDevice::GetButtonPresses( vector<DeviceInput>& vPresses, IOHIDElementCookie cookie, int value, const RageTimer& now ) const
|
||||||
|
|||||||
Reference in New Issue
Block a user