summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2004-08-14 23:59:52 +0000
committerKristian Høgsberg <krh@redhat.com>2004-08-14 23:59:52 +0000
commit597fdae93e6e1b7e4052097baf3d91e7a134c162 (patch)
treebc3c6d0bf47740cd5145ff989d4e6fbc6bc12be4
parente483fe3ec384da556c31292001a86ec95c2ddc46 (diff)
More kbd fun: write out "kbd" from Xorg -configure (#1078).
-rw-r--r--hw/xfree86/common/xf86Configure.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/xfree86/common/xf86Configure.c b/hw/xfree86/common/xf86Configure.c
index 9ba2f0c92..4867a867a 100644
--- a/hw/xfree86/common/xf86Configure.c
+++ b/hw/xfree86/common/xf86Configure.c
@@ -257,7 +257,12 @@ configureInputSection (void)
parsePrologue (XF86ConfInputPtr, XF86ConfInputRec)
ptr->inp_identifier = "Keyboard0";
+#ifdef USE_DEPRECATED_KEYBOARD_DRIVER
+#error hat
ptr->inp_driver = "keyboard";
+#else
+ ptr->inp_driver = "kbd";
+#endif
ptr->list.next = NULL;
/* Crude mechanism to auto-detect mouse (os dependent) */