enabled wheel mouse support
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 17 Jan 2005 22:31:41 +0000 (22:31 +0000)
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 17 Jan 2005 22:31:41 +0000 (22:31 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1228 c046a42c-6fe2-441c-8c8c-71466251a162

hw/pckbd.c

index 730b573..e38edee 100644 (file)
@@ -549,7 +549,6 @@ static void kbd_write_mouse(KBDState *s, int val)
         break;
     case AUX_SET_SAMPLE:
         s->mouse_sample_rate = val;
-#if 0
         /* detect IMPS/2 or IMEX */
         switch(s->mouse_detect_state) {
         default:
@@ -576,7 +575,6 @@ static void kbd_write_mouse(KBDState *s, int val)
             s->mouse_detect_state = 0;
             break;
         }
-#endif
         kbd_queue(s, AUX_ACK, 1);
         s->mouse_write_cmd = -1;
         break;