From 5bdd55fe335c85187c6f689240776d3578198a03 Mon Sep 17 00:00:00 2001 From: yokota Date: Fri, 20 Jul 2001 13:05:57 +0000 Subject: Return consistent key action codes at key press and release events. Otherwise you would see unexpected results if shift or locking keys are defined to give different actions depending on other shift/locking keys' state. Please keep the ukbd module and the kernel in sync, otherwise the USB keyboard won't work after this change. MFC after: 10 days --- sys/dev/atkbdc/atkbd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/atkbdc/atkbd.c') diff --git a/sys/dev/atkbdc/atkbd.c b/sys/dev/atkbdc/atkbd.c index 05a98f4..0e8be30 100644 --- a/sys/dev/atkbdc/atkbd.c +++ b/sys/dev/atkbdc/atkbd.c @@ -49,6 +49,7 @@ #include #endif /* __i386__ */ +#include #include #include #include @@ -167,7 +168,6 @@ atkbd_timeout(void *arg) /* LOW-LEVEL */ #include -#include #define ATKBD_DEFAULT 0 -- cgit v1.1