summaryrefslogtreecommitdiff
path: root/hw/xwin/winkeyhook.c
diff options
context:
space:
mode:
authorJon TURNEY <jon.turney@dronecode.org.uk>2010-04-14 21:45:29 +0100
committerJon TURNEY <jon.turney@dronecode.org.uk>2011-02-05 20:52:19 +0000
commitbe3e5bb50178406e46368be00860331e1b6c4093 (patch)
tree63d2bb8c7885eb4ccd2d3b09aa5c3f0092839cef /hw/xwin/winkeyhook.c
parent81892bf6b7e3730ebd19318183734f55dbaa5d4b (diff)
Cygwin/X: Better keycode debugging output
Replace useless #if 0/ErrorF/#endif with winDebug Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
Diffstat (limited to 'hw/xwin/winkeyhook.c')
-rw-r--r--hw/xwin/winkeyhook.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/hw/xwin/winkeyhook.c b/hw/xwin/winkeyhook.c
index fe1156dcf..cbee7cbda 100644
--- a/hw/xwin/winkeyhook.c
+++ b/hw/xwin/winkeyhook.c
@@ -88,9 +88,7 @@ winKeyboardMessageHookLL (int iCode, WPARAM wParam, LPARAM lParam)
/* Pass keystrokes on to our main message loop */
if (iCode == HC_ACTION)
{
-#if 0
- ErrorF ("vkCode: %08x\tscanCode: %08x\n", p->vkCode, p->scanCode);
-#endif
+ winDebug("winKeyboardMessageHook: vkCode: %08x scanCode: %08x\n", p->vkCode, p->scanCode);
switch (wParam)
{