summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2006-11-28 20:31:32 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2006-11-28 20:31:32 +0000
commit73dcf465cacf8fe31b695db4f325b800eb9d1abe (patch)
treed777233384d68a7a92d842362e79e599f5f3d456
parent7f3d37e82fe6add943d472b166163be6bf977b97 (diff)
OpenBSD modifications: no special treatement of sparc keyboard.
-rw-r--r--driver/xf86-input-keyboard/src/kbd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/driver/xf86-input-keyboard/src/kbd.c b/driver/xf86-input-keyboard/src/kbd.c
index 86c4f0115..b463eea9f 100644
--- a/driver/xf86-input-keyboard/src/kbd.c
+++ b/driver/xf86-input-keyboard/src/kbd.c
@@ -578,6 +578,7 @@ PostKbdEvent(InputInfoPtr pInfo, unsigned int scanCode, Bool down)
if (xf86inSuspend)
return;
+#ifndef __OpenBSD__
if (pKbd->sunKbd) {
/*
* XXX XXX XXX:
@@ -590,6 +591,7 @@ PostKbdEvent(InputInfoPtr pInfo, unsigned int scanCode, Bool down)
scanCode--;
goto sunKeyboards;
}
+#endif
/*
* First do some special scancode remapping ...