aboutsummaryrefslogtreecommitdiff
path: root/hw/ps2.c
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-03-20 16:45:27 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-03-20 16:45:27 +0000
commit548df2acc6fcd12169583e7e7e25b33600cc20e7 (patch)
tree0fd4f636dd74c0c2e719cc0e70ad138c125856b4 /hw/ps2.c
parent3ad4bb2d3d22f3be94db7bcabac8586cfb222efb (diff)
VMMouse Emulation, by Anthony Liguori.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2514 c046a42c-6fe2-441c-8c8c-71466251a162
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;