On Sun, Dec 06, 2009 at 08:53:57PM +0100, Sebastian Kapfer wrote: > > > > Ah, ok, so when we report all 3 buttons pressed we mistaken it as interleaved > > packet again... Insteado f waiting till 9th byte can't we just forcefully > > exit inetrleaved mode (once we processed the bare packet) by doing: > > > > psmouse->packet[3] &= 0xf7; > > Hmm I guess we could do something like this, but IMHO it makes the code > needlessly arcane. What would be the point? Save 3 bytes of buffer? > Deliver the mouse movement a microsecond earlier? No, this allows us validate the data bytes as tehy come in and probably detect desync right away and resync earlier. -- Dmitry -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html