summaryrefslogtreecommitdiff
path: root/driver/xf86-input-keyboard/src/kbd.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver/xf86-input-keyboard/src/kbd.c')
-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 ...