aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);