summaryrefslogtreecommitdiff
path: root/hw/ps2.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-04-12 21:09:08 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-04-12 21:09:08 +0000
commit09b26c5ec06ff7531a2a2a7b1146011c87285f81 (patch)
tree332307939fbad1e7953b9f0f2af1388cc015318d /hw/ps2.c
parent6a15fd12ca1bccb72335132686db7adef5937a0a (diff)
USB tablet support (Brad Campbell, Anthony Liguori)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1810 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/ps2.c')
-rw-r--r--hw/ps2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ps2.c b/hw/ps2.c
index 40be0449f..8438a5e85 100644
--- a/hw/ps2.c
+++ b/hw/ps2.c
@@ -560,7 +560,7 @@ void *ps2_mouse_init(void (*update_irq)(void *, int), void *update_arg)
s->common.update_arg = update_arg;
ps2_reset(&s->common);
register_savevm("ps2mouse", 0, 2, ps2_mouse_save, ps2_mouse_load, s);
- qemu_add_mouse_event_handler(ps2_mouse_event, s);
+ qemu_add_mouse_event_handler(ps2_mouse_event, s, 0);
qemu_register_reset(ps2_reset, &s->common);
return s;
}