]> git.proxmox.com Git - qemu.git/blobdiff - hw/ps2.c
Fix usb hid and mass-storage protocol revision, by Juergen Keil.
[qemu.git] / hw / ps2.c
index 3794c603662b2f49c9c9e723ff671b3d6d137030..2d87f1f12f2d151ed1c609e13f2f206cebc1c192 100644 (file)
--- a/hw/ps2.c
+++ b/hw/ps2.c
@@ -324,6 +324,11 @@ static void ps2_mouse_event(void *opaque,
     }
 }
 
+void ps2_mouse_fake_event(void *opaque)
+{
+    ps2_mouse_event(opaque, 1, 0, 0, 0);
+}
+
 void ps2_write_mouse(void *opaque, int val)
 {
     PS2MouseState *s = (PS2MouseState *)opaque;