提交 ada89ce6 编写于 作者: B bellard

enabled wheel mouse support


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1228 c046a42c-6fe2-441c-8c8c-71466251a162
上级 b328f873
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册