diff --git a/stepmania/src/archutils/Darwin/KeyboardDevice.cpp b/stepmania/src/archutils/Darwin/KeyboardDevice.cpp index dfccd35d2c..2d2be48400 100644 --- a/stepmania/src/archutils/Darwin/KeyboardDevice.cpp +++ b/stepmania/src/archutils/Darwin/KeyboardDevice.cpp @@ -163,7 +163,10 @@ void KeyboardDevice::AddElement( int usagePage, int usage, IOHIDElementCookie co void KeyboardDevice::Open() { for( hash_map::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& vPresses, IOHIDElementCookie cookie, int value, const RageTimer& now ) const