summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorbjh21 <bjh21@NetBSD.org>2004-12-31 14:18:35 +0000
committerbjh21 <bjh21@NetBSD.org>2004-12-31 14:18:35 +0000
commitb1cd28071463e5a1e2ce780d3ba40f7e6294a9f2 (patch)
treef9d0460198f7c042e57111bdbf37b82734f08e9f /sys/dev
parent5a55b5cff3db21019231c438e9c2ac59f6bae656 (diff)
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.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/sun/kbd.c7
1 files changed, 2 insertions, 5 deletions
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 <sys/cdefs.h>
-__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 <sys/param.h>
#include <sys/systm.h>
@@ -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