summaryrefslogtreecommitdiff
path: root/hw/kdrive/linux
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2006-10-23 02:54:59 +0300
committerDaniel Stone <daniels@endtroducing.fooishbar.org>2006-10-23 02:54:59 +0300
commita6dc629052f0ad509cfa30e98217043a63c09552 (patch)
tree18f3c09dc979c12099aeb6bafb0df1b2a00325bf /hw/kdrive/linux
parentac240b00ff6fc354c1aa641406ae8b49244c0b8b (diff)
kdrive/os: add KdOsAddInputDrivers
Add KdOsAddInputDrivers, which adds all relevant input drivers. Could possibly be refactored to KdAddInputDrivers, which called through OsFuncs to a new function, if it existed.
Diffstat (limited to 'hw/kdrive/linux')
-rw-r--r--hw/kdrive/linux/linux.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/hw/kdrive/linux/linux.c b/hw/kdrive/linux/linux.c
index e75f8d55b..7ba99b45c 100644
--- a/hw/kdrive/linux/linux.c
+++ b/hw/kdrive/linux/linux.c
@@ -469,6 +469,18 @@ LinuxFini (void)
return;
}
+void
+KdOsAddInputDrivers ()
+{
+ KdAddPointerDriver(&LinuxMouseDriver);
+ KdAddPointerDriver(&MsMouseDriver);
+ KdAddPointerDriver(&Ps2MouseDriver);
+#ifdef TSLIB
+ KdAddPointerDriver(&TsDriver);
+#endif
+ KdAddKeyboardDriver(&LinuxKeyboardDriver);
+}
+
KdOsFuncs LinuxFuncs = {
LinuxInit,
LinuxEnable,