Log actually adding to the queue.

This commit is contained in:
Steve Checkoway
2008-10-05 08:53:19 +00:00
parent c4d53c94b1
commit 5fc76284c1
@@ -163,7 +163,10 @@ void KeyboardDevice::AddElement( int usagePage, int usage, IOHIDElementCookie co
void KeyboardDevice::Open()
{
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 );
}
}
void KeyboardDevice::GetButtonPresses( vector<DeviceInput>& vPresses, IOHIDElementCookie cookie, int value, const RageTimer& now ) const