From c5741438a3a171f493e9da32a6b39f73403f6993 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Fri, 10 Aug 2007 16:13:55 -0700 Subject: Only use evdev drivers in Xephyr #ifdef linux --- hw/kdrive/ephyr/ephyrinit.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hw/kdrive/ephyr/ephyrinit.c b/hw/kdrive/ephyr/ephyrinit.c index 56b4f1694..a76da03b4 100644 --- a/hw/kdrive/ephyr/ephyrinit.c +++ b/hw/kdrive/ephyr/ephyrinit.c @@ -57,9 +57,13 @@ InitInput (int argc, char **argv) KdPointerInfo *pi; KdAddKeyboardDriver(&EphyrKeyboardDriver); +#ifdef linux KdAddKeyboardDriver(&LinuxEvdevKeyboardDriver); +#endif KdAddPointerDriver(&EphyrMouseDriver); +#ifdef linux KdAddPointerDriver(&LinuxEvdevMouseDriver); +#endif if (!kdHasKbd) { ki = KdNewKeyboard(); -- cgit v1.2.3