summaryrefslogtreecommitdiff
path: root/packages/xorg-xserver/xserver-kdrive-1.4/w100-new-input-world-order.patch
blob: 239ae0bb67e101adb037170f024b0ef0dc44f378 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Index: xorg-server-1.4/hw/kdrive/w100/ati_stub.c
===================================================================
--- xorg-server-1.4.orig/hw/kdrive/w100/ati_stub.c	2007-09-08 21:40:26.000000000 +0200
+++ xorg-server-1.4/hw/kdrive/w100/ati_stub.c	2007-09-08 22:04:27.000000000 +0200
@@ -74,10 +74,20 @@
 void
 InitInput(int argc, char **argv)
 {
-    KdInitInput(&LinuxMouseFuncs, &LinuxKeyboardFuncs);
-#ifdef TOUCHSCREEN
-    KdAddMouseDriver(&TsFuncs);
+    KdKeyboardInfo *ki;
+
+    KdAddKeyboardDriver (&LinuxKeyboardDriver);
+    KdAddPointerDriver (&LinuxMouseDriver);
+    KdAddKeyboardDriver (&LinuxEvdevKeyboardDriver);
+    KdAddPointerDriver (&LinuxEvdevMouseDriver);
+#ifdef TSLIB
+    KdAddPointerDriver (&TsDriver);
 #endif
+
+    ki = KdParseKeyboard ("keyboard");
+    KdAddKeyboard(ki);
+
+    KdInitInput ();
 }
 
 void