diff options
author | Daniel Stone <daniel@fooishbar.org> | 2006-10-23 02:54:59 +0300 |
---|---|---|
committer | Daniel Stone <daniels@endtroducing.fooishbar.org> | 2006-10-23 02:54:59 +0300 |
commit | a6dc629052f0ad509cfa30e98217043a63c09552 (patch) | |
tree | 18f3c09dc979c12099aeb6bafb0df1b2a00325bf /hw/kdrive/linux | |
parent | ac240b00ff6fc354c1aa641406ae8b49244c0b8b (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.c | 12 |
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, |