aboutsummaryrefslogtreecommitdiff
path: root/hw/pckbd.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-01-17 22:31:41 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-01-17 22:31:41 +0000
commitada89ce61b21116f6884f758e29167ccba613f39 (patch)
treeac26cb70543b55818b673f6df718ddef70a1be6a /hw/pckbd.c
parentb328f873ab2c952f1e27970969a9315d46ced974 (diff)
enabled wheel mouse support
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1228 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/pckbd.c')
-rw-r--r--hw/pckbd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/pckbd.c b/hw/pckbd.c
index 730b573370..e38edeeba7 100644
--- a/hw/pckbd.c
+++ b/hw/pckbd.c
@@ -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;