Commit 55ce9936 authored by Vojtech Pavlik's avatar Vojtech Pavlik

psmouse.c: ignore the sync bit to make slightly non-conforming devices

work.
parent ad970526
......@@ -201,7 +201,7 @@ static void psmouse_interrupt(struct serio *serio, unsigned char data, unsigned
psmouse->packet[psmouse->pktcnt++] = data;
if (psmouse->pktcnt == 3 + (psmouse->type >= PSMOUSE_GENPS)) {
if ((psmouse->packet[0] & 0x08) == 0x08) psmouse_process_packet(psmouse);
psmouse_process_packet(psmouse);
psmouse->pktcnt = 0;
return;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment