[PATCH libinput 4/4] touchpad: disable gestures for single-finger touchpads

2016-01-21 Thread Peter Hutterer
No point trying to detect pinch gestures if we only have one set of coordinates. This makes two-finger scrolling on ST touchpads more reactive. Signed-off-by: Peter Hutterer --- src/evdev-mt-touchpad-gestures.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/evdev-mt-touc

Re: [PATCH libinput] touchpad: disable MT for all semi-mt devices

2016-01-21 Thread Peter Hutterer
On Wed, Jan 20, 2016 at 11:31:42AM +0100, Hans de Goede wrote: > Hi, > > On 19-01-16 01:01, Peter Hutterer wrote: > >Synaptics, Elantech and Alps semi-mt devices all have issues with reporting > >correct MT data, even the bounding box which semi-mt devices are supposed to > >report is wrong. > > >

[PATCH v2 libinput 3/4] touchpad: disable MT for all semi-mt devices

2016-01-21 Thread Peter Hutterer
Synaptics, Elantech and Alps semi-mt devices all have issues with reporting correct MT data, even the bounding box which semi-mt devices are supposed to report is wrong. Synaptics devices have massive jumps with two fingers down. Elantech devices may open slots without coordinate data. Alps device

[PATCH libinput 2/4] test: when moving 2 fingers, move them in the same frame

2016-01-21 Thread Peter Hutterer
More accurate representation of what we actually want to do. Plus it avoids weird test case failures in semi-mt where we always pick the t/l and b/r touches for the bounding box. That is the proper behavior for semi-mt, but it's not for the tests where we expect simultaneous finger movement. Signe

[PATCH libinput 1/4] touchpad: don't try to unhover touches if nothing changed

2016-01-21 Thread Peter Hutterer
If the touch hasn't updated, the distance hasn't changed so there is no need to unhover. Signed-off-by: Peter Hutterer --- src/evdev-mt-touchpad.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/evdev-mt-touchpad.c b/src/evdev-mt-touchpad.c index 6f834fb..62087fb 100644 --- a/src/evde

Re: [PATCH libinput] gitignore: ignore compile script generated by automake >= 1.14

2016-01-21 Thread Olivier Blin
Le 20/01/2016 20:33, Bill Spitzak a écrit : You may want to put '/' in front of files that should only occur in the root of the repository. Hi, Indeed, this is how I added it initially, but I submitted the current form for consistency with other entries. Cheers On Tue, Jan 19, 2016 at 6:53

Re: [PATCH libinput] gitignore: ignore compile script generated by automake >= 1.14

2016-01-21 Thread Bill Spitzak
You may want to put '/' in front of files that should only occur in the root of the repository. On Tue, Jan 19, 2016 at 6:53 PM, Peter Hutterer wrote: > On Tue, Jan 19, 2016 at 03:10:21PM +0100, Olivier Blin wrote: > > --- > > .gitignore | 1 + > > 1 file changed, 1 insertion(+) > > > > diff -