extra logging, polling keys after modifier key fake

This commit is contained in:
Nick Bolton 2014-03-17 19:02:13 +00:00
parent 729bbeab01
commit 0563eeb467
1 changed files with 9 additions and 1 deletions

View File

@ -546,6 +546,14 @@ COSXKeyState::fakeKey(const Keystroke& keystroke)
if (keystroke.m_data.m_button.m_client) { if (keystroke.m_data.m_button.m_client) {
ARCH->sleep(0.01); ARCH->sleep(0.01);
} }
IKeyState::KeyButtonSet pressed;
pollPressedKeys(pressed);
IKeyState::KeyButtonSet::const_iterator it;
for (it = pressed.begin(); it != pressed.end(); ++it) {
LOG((CLOG_DEBUG1 " pressed: button=%03x", *it));
}
} }
break; break;