Commit ada89ce61b21116f6884f758e29167ccba613f39
1 parent
b328f873
enabled wheel mouse support
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1228 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
0 additions
and
2 deletions
hw/pckbd.c
... | ... | @@ -549,7 +549,6 @@ static void kbd_write_mouse(KBDState *s, int val) |
549 | 549 | break; |
550 | 550 | case AUX_SET_SAMPLE: |
551 | 551 | s->mouse_sample_rate = val; |
552 | -#if 0 | |
553 | 552 | /* detect IMPS/2 or IMEX */ |
554 | 553 | switch(s->mouse_detect_state) { |
555 | 554 | default: |
... | ... | @@ -576,7 +575,6 @@ static void kbd_write_mouse(KBDState *s, int val) |
576 | 575 | s->mouse_detect_state = 0; |
577 | 576 | break; |
578 | 577 | } |
579 | -#endif | |
580 | 578 | kbd_queue(s, AUX_ACK, 1); |
581 | 579 | s->mouse_write_cmd = -1; |
582 | 580 | break; | ... | ... |