Commit f34c9d6f10bd4d1c8abcf258e76fec739674a105
1 parent
e3db7226
mouse reset fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1245 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
0 deletions
hw/pckbd.c
... | ... | @@ -539,6 +539,7 @@ static void kbd_write_mouse(KBDState *s, int val) |
539 | 539 | s->mouse_sample_rate = 100; |
540 | 540 | s->mouse_resolution = 2; |
541 | 541 | s->mouse_status = 0; |
542 | + s->mouse_type = 0; | |
542 | 543 | kbd_queue(s, AUX_ACK, 1); |
543 | 544 | kbd_queue(s, 0xaa, 1); |
544 | 545 | kbd_queue(s, s->mouse_type, 1); | ... | ... |