aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-04-12 21:59:55 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-04-12 21:59:55 +0000
commitffcdb539debe426e75290cb76f73e5c7b4fc645d (patch)
tree006e117228ce446e20048c3cb977b97ddc12a066 /hw
parent210fe0be2aaff0583163ef58fd9de055b577752e (diff)
mouse API change
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1812 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw')
-rw-r--r--hw/adb.c2
-rw-r--r--hw/slavio_serial.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/hw/adb.c b/hw/adb.c
index 2acfe65bf4..8e08cb143a 100644
--- a/hw/adb.c
+++ b/hw/adb.c
@@ -406,5 +406,5 @@ void adb_mouse_init(ADBBusState *bus)
d = adb_register_device(bus, ADB_MOUSE, adb_mouse_request,
adb_mouse_reset, s);
adb_mouse_reset(d);
- qemu_add_mouse_event_handler(adb_mouse_event, d);
+ qemu_add_mouse_event_handler(adb_mouse_event, d, 0);
}
diff --git a/hw/slavio_serial.c b/hw/slavio_serial.c
index 2b89c6d62a..b13e7c46f9 100644
--- a/hw/slavio_serial.c
+++ b/hw/slavio_serial.c
@@ -538,7 +538,7 @@ void slavio_serial_ms_kbd_init(int base, int irq)
slavio_serial_io_memory = cpu_register_io_memory(0, slavio_serial_mem_read, slavio_serial_mem_write, s);
cpu_register_physical_memory(base, SERIAL_MAXADDR, slavio_serial_io_memory);
- qemu_add_mouse_event_handler(sunmouse_event, &s->chn[0]);
+ qemu_add_mouse_event_handler(sunmouse_event, &s->chn[0], 0);
qemu_add_kbd_event_handler(sunkbd_event, &s->chn[1]);
qemu_register_reset(slavio_serial_reset, s);
slavio_serial_reset(s);