aboutsummaryrefslogtreecommitdiff
path: root/hw/pckbd.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-01-27 22:32:51 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-01-27 22:32:51 +0000
commitf34c9d6f10bd4d1c8abcf258e76fec739674a105 (patch)
tree1ac0247b7aca531587577961f3c1b799f5db058c /hw/pckbd.c
parente3db7226b411d767b9a3ac8e0d88f5cbd5782349 (diff)
mouse reset fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1245 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/pckbd.c')
-rw-r--r--hw/pckbd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/pckbd.c b/hw/pckbd.c
index e38edeeba7..be559eb4f6 100644
--- a/hw/pckbd.c
+++ b/hw/pckbd.c
@@ -539,6 +539,7 @@ static void kbd_write_mouse(KBDState *s, int val)
s->mouse_sample_rate = 100;
s->mouse_resolution = 2;
s->mouse_status = 0;
+ s->mouse_type = 0;
kbd_queue(s, AUX_ACK, 1);
kbd_queue(s, 0xaa, 1);
kbd_queue(s, s->mouse_type, 1);