From 89d272bb183e85715d8e6047929fb2d912033d82 Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Tue, 29 Aug 2006 15:05:31 +0300 Subject: [PATCH] [PATCH] kdrive/linux keyboard: remove more debugging spew --- hw/kdrive/linux/keyboard.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hw/kdrive/linux/keyboard.c b/hw/kdrive/linux/keyboard.c index eb4a8f1fb..24653ad31 100644 --- a/hw/kdrive/linux/keyboard.c +++ b/hw/kdrive/linux/keyboard.c @@ -579,7 +579,9 @@ LinuxKeyboardRead (int fd, void *closure) if (!prefix && ((b[0] & 0x7f) == KEY_Prefix0)) { prefix = KEY_Prefix0; +#ifdef DEBUG ErrorF("Prefix0"); +#endif /* swallow this up */ b++; continue; @@ -598,7 +600,9 @@ LinuxKeyboardRead (int fd, void *closure) /* from xf86Events.c */ case KEY_Prefix0: { +#ifdef DEBUG ErrorF("Prefix0 scancode: 0x%02x\n", scancode); +#endif switch (scancode) { case KEY_KP_7: scancode = KEY_Home; break; /* curs home */