Revision 09b26c5e hw/ps2.c

b/hw/ps2.c
560 560
    s->common.update_arg = update_arg;
561 561
    ps2_reset(&s->common);
562 562
    register_savevm("ps2mouse", 0, 2, ps2_mouse_save, ps2_mouse_load, s);
563
    qemu_add_mouse_event_handler(ps2_mouse_event, s);
563
    qemu_add_mouse_event_handler(ps2_mouse_event, s, 0);
564 564
    qemu_register_reset(ps2_reset, &s->common);
565 565
    return s;
566 566
}

Also available in: Unified diff