]> Git Repo - qemu.git/commitdiff
mouse reset fix
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 27 Jan 2005 22:32:51 +0000 (22:32 +0000)
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 27 Jan 2005 22:32:51 +0000 (22:32 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1245 c046a42c-6fe2-441c-8c8c-71466251a162

hw/pckbd.c

index e38edeeba70fcc854f604de4cb4beae74a8fd305..be559eb4f6de3b2ca1562d77fee6f9a137a32c9b 100644 (file)
@@ -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);
This page took 0.027282 seconds and 4 git commands to generate.