aboutsummaryrefslogtreecommitdiff
path: root/hw/ps2.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/ps2.c')
-rw-r--r--hw/ps2.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/ps2.c b/hw/ps2.c
index 3794c60366..2d87f1f12f 100644
--- 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;