summaryrefslogtreecommitdiffstats
path: root/hw/pckbd.c
diff options
context:
space:
mode:
authorbellard2005-01-17 23:31:41 +0100
committerbellard2005-01-17 23:31:41 +0100
commitada89ce61b21116f6884f758e29167ccba613f39 (patch)
treeac26cb70543b55818b673f6df718ddef70a1be6a /hw/pckbd.c
parentgdb M packet parsing fix (Thomas Petazzoni) (diff)
downloadqemu-ada89ce61b21116f6884f758e29167ccba613f39.tar.gz
qemu-ada89ce61b21116f6884f758e29167ccba613f39.tar.xz
qemu-ada89ce61b21116f6884f758e29167ccba613f39.zip
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;