On Sun, May 08, 2011 at 11:16:40AM +0200, Matthieu Herrb wrote: > Hi again, > > I find the mouse emulation code for synaptics touch pads in your patch > really weird. I've tried to understand what it does, and why it > behaves badly for me on the first tap (move the pointer in the upper > right direction every time), but I fail to understand the logic. > > So I've written a different code which produces better results and is > simpler to understand. It computes relative motion events > after the 2nd one, and sends any event with relative motion or button > state changes. > > This is a diff against the pms.c resulting of your previous patch to tech@ >
I agree, my implementation weird, your best :-) Thanks. -- Alexandr Shadchin