From b1cd28071463e5a1e2ce780d3ba40f7e6294a9f2 Mon Sep 17 00:00:00 2001 From: bjh21 Date: Fri, 31 Dec 2004 14:18:35 +0000 Subject: Go back to filtering out KBD_IDLE events by default. The Xsun shipped with NetBSD 2.0 gets confused by them (generating events for keycode 134 when all keys are released), and even when that's fixed we should keep one release worth of backward compatibility. --- sys/dev/sun/kbd.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'sys/dev') diff --git a/sys/dev/sun/kbd.c b/sys/dev/sun/kbd.c index 5cc76fbf641..3796bcfd569 100644 --- a/sys/dev/sun/kbd.c +++ b/sys/dev/sun/kbd.c @@ -1,4 +1,4 @@ -/* $NetBSD: kbd.c,v 1.40 2004/04/22 00:17:13 itojun Exp $ */ +/* $NetBSD: kbd.c,v 1.41 2004/12/31 14:18:35 bjh21 Exp $ */ /* * Copyright (c) 1992, 1993 @@ -47,7 +47,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: kbd.c,v 1.40 2004/04/22 00:17:13 itojun Exp $"); +__KERNEL_RCSID(0, "$NetBSD: kbd.c,v 1.41 2004/12/31 14:18:35 bjh21 Exp $"); #include #include @@ -477,8 +477,6 @@ kbd_input(k, code) int code; { if (k->k_evmode) { - -#ifdef KBD_IDLE_EVENTS /* * XXX: is this still true? * IDLEs confuse the MIT X11R4 server badly, so we must drop them. @@ -488,7 +486,6 @@ kbd_input(k, code) */ if (code == KBD_IDLE) return; -#endif /* * Keyboard is generating firm events. Turn this keystroke -- cgit