[PATCH] kdrive/linux keyboard: silence excessive debugging noise
This commit is contained in:
parent
5436fce090
commit
bd6f539ff9
|
@ -659,8 +659,10 @@ LinuxKeyboardRead (int fd, void *closure)
|
||||||
prefix = 0;
|
prefix = 0;
|
||||||
continue;
|
continue;
|
||||||
default:
|
default:
|
||||||
|
#ifdef DEBUG
|
||||||
ErrorF("Unreported Prefix0 scancode: 0x%02x\n",
|
ErrorF("Unreported Prefix0 scancode: 0x%02x\n",
|
||||||
scancode);
|
scancode);
|
||||||
|
#endif
|
||||||
/*
|
/*
|
||||||
* "Internet" keyboards are generating lots of new
|
* "Internet" keyboards are generating lots of new
|
||||||
* codes. Let them pass. There is little consistency
|
* codes. Let them pass. There is little consistency
|
||||||
|
@ -675,7 +677,9 @@ LinuxKeyboardRead (int fd, void *closure)
|
||||||
case KEY_Prefix1:
|
case KEY_Prefix1:
|
||||||
{
|
{
|
||||||
/* we do no handle these */
|
/* we do no handle these */
|
||||||
|
#ifdef DEBUG
|
||||||
ErrorF("Prefix1 scancode: 0x%02x\n", scancode);
|
ErrorF("Prefix1 scancode: 0x%02x\n", scancode);
|
||||||
|
#endif
|
||||||
b++;
|
b++;
|
||||||
prefix = 0;
|
prefix = 0;
|
||||||
continue;
|
continue;
|
||||||
|
@ -683,7 +687,10 @@ LinuxKeyboardRead (int fd, void *closure)
|
||||||
|
|
||||||
default: /* should not happen*/
|
default: /* should not happen*/
|
||||||
case 0: /* do nothing */
|
case 0: /* do nothing */
|
||||||
|
#ifdef DEBUG
|
||||||
ErrorF("Plain scancode: 0x%02x\n", scancode);
|
ErrorF("Plain scancode: 0x%02x\n", scancode);
|
||||||
|
#endif
|
||||||
|
;
|
||||||
}
|
}
|
||||||
|
|
||||||
prefix = 0;
|
prefix = 0;
|
||||||
|
|
Loading…
Reference in New Issue