aboutsummaryrefslogtreecommitdiff
path: root/hw
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
parentb328f873ab2c952f1e27970969a9315d46ced974 (diff)
downloadqemu-ada89ce61b21116f6884f758e29167ccba613f39.zip
qemu-ada89ce61b21116f6884f758e29167ccba613f39.tar.gz
qemu-ada89ce61b21116f6884f758e29167ccba613f39.tar.bz2
enabled wheel mouse support
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1228 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw')
-rw-r--r--hw/pckbd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/pckbd.c b/hw/pckbd.c
index 730b573..e38edee 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;