[PATCH] kdrive/linux keyboard: remove more debugging spew

This commit is contained in:
Daniel Stone 2006-08-29 15:05:31 +03:00 committed by Daniel Stone
parent bd6f539ff9
commit 89d272bb18

View File

@ -579,7 +579,9 @@ LinuxKeyboardRead (int fd, void *closure)
if (!prefix && ((b[0] & 0x7f) == KEY_Prefix0)) if (!prefix && ((b[0] & 0x7f) == KEY_Prefix0))
{ {
prefix = KEY_Prefix0; prefix = KEY_Prefix0;
#ifdef DEBUG
ErrorF("Prefix0"); ErrorF("Prefix0");
#endif
/* swallow this up */ /* swallow this up */
b++; b++;
continue; continue;
@ -598,7 +600,9 @@ LinuxKeyboardRead (int fd, void *closure)
/* from xf86Events.c */ /* from xf86Events.c */
case KEY_Prefix0: case KEY_Prefix0:
{ {
#ifdef DEBUG
ErrorF("Prefix0 scancode: 0x%02x\n", scancode); ErrorF("Prefix0 scancode: 0x%02x\n", scancode);
#endif
switch (scancode) { switch (scancode) {
case KEY_KP_7: case KEY_KP_7:
scancode = KEY_Home; break; /* curs home */ scancode = KEY_Home; break; /* curs home */