From 548df2acc6fcd12169583e7e7e25b33600cc20e7 Mon Sep 17 00:00:00 2001 From: ths Date: Tue, 20 Mar 2007 16:45:27 +0000 Subject: VMMouse Emulation, by Anthony Liguori. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2514 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/ps2.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'hw/ps2.c') diff --git a/hw/ps2.c b/hw/ps2.c index 3794c60..2d87f1f 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; -- cgit v1.1