Plan 9 from Bell Labs 1998-02-07
1 files changed, 3 insertions(+), 1 deletions(-) M pc/kbd.c
M pc/kbd.c => pc/kbd.c +3 -1
@@ 261,7 261,9 @@ i8042intr(Ureg*, void*) keyup = c&0x80; c &= 0x7f; if(c > sizeof kbtab){ - print("unknown key %ux\n", c|keyup); + c |= keyup; + if(c != 0xFF) /* these come fairly often: CAPSLOCK U Y */ + print("unknown key %ux\n", c); return; }