summaryrefslogtreecommitdiff
path: root/hw/kdrive/ati
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2007-12-14 08:46:35 -0200
committerDaniel Stone <daniel@fooishbar.org>2007-12-14 13:15:27 +0200
commit86730337001ba4db6d77fe42406695e32784b157 (patch)
tree4ee01fba473e241fd3d6cf5cd9fc035f9b5748ed /hw/kdrive/ati
parente110255501e2f699709e6978f5e52d3be96333c8 (diff)
kdrive/ati: use operating system input devices
Diffstat (limited to 'hw/kdrive/ati')
-rw-r--r--hw/kdrive/ati/ati_stub.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/hw/kdrive/ati/ati_stub.c b/hw/kdrive/ati/ati_stub.c
index 3669fd743..f881b7f7b 100644
--- a/hw/kdrive/ati/ati_stub.c
+++ b/hw/kdrive/ati/ati_stub.c
@@ -50,14 +50,7 @@ InitOutput(ScreenInfo *pScreenInfo, int argc, char **argv)
void
InitInput(int argc, char **argv)
{
- KdKeyboardInfo *ki = NULL;
-
- KdAddPointerDriver(&LinuxMouseDriver);
- ki = KdNewKeyboard();
- if (ki) {
- ki->driver = &LinuxKeyboardDriver;
- KdAddKeyboard(ki);
- }
+ KdOsAddInputDrivers();
KdInitInput();
}