aboutsummaryrefslogtreecommitdiff
path: root/hw/pckbd.c
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-03-20 16:45:27 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-03-20 16:45:27 +0000
commit548df2acc6fcd12169583e7e7e25b33600cc20e7 (patch)
tree0fd4f636dd74c0c2e719cc0e70ad138c125856b4 /hw/pckbd.c
parent3ad4bb2d3d22f3be94db7bcabac8586cfb222efb (diff)
VMMouse Emulation, by Anthony Liguori.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2514 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/pckbd.c')
-rw-r--r--hw/pckbd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/pckbd.c b/hw/pckbd.c
index de40a09aa8..0ace3c0c9c 100644
--- a/hw/pckbd.c
+++ b/hw/pckbd.c
@@ -372,6 +372,9 @@ void i8042_init(int kbd_irq_lvl, int mouse_irq_lvl, uint32_t io_base)
s->kbd = ps2_kbd_init(kbd_update_kbd_irq, s);
s->mouse = ps2_mouse_init(kbd_update_aux_irq, s);
+#ifdef TARGET_I386
+ vmmouse_init(s->mouse);
+#endif
qemu_register_reset(kbd_reset, s);
}