mouse API change

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1812 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
bellard 2006-04-12 21:59:55 +00:00
parent 210fe0be2a
commit ffcdb539de
2 changed files with 2 additions and 2 deletions

View File

@ -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);
}

View File

@ -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);