[PATCH libinput] touchpad: be smarter about clickfinger thumb detection

2015-07-05 Thread Peter Hutterer
Watching a colleague try clickfinger right-click after enabling it the first time showed that the vertical distance is too small. Increase it to 30mm instead. Increase the allowed spread between fingers to 40x30mm, but check if one of the fingers is in the bottom-most 20mm of the touchpad. If that

[PATCH libinput 3/3] touchpad: allow edge scrolling on clickpads

2015-07-05 Thread Peter Hutterer
Signed-off-by: Peter Hutterer --- doc/scrolling.dox | 6 +- src/evdev-mt-touchpad-buttons.c | 4 + src/evdev-mt-touchpad-edge-scroll.c | 21 +++- src/evdev-mt-touchpad.c | 5 +- test/touchpad.c | 211 +++-

[PATCH libinput 2/3] test: add helper function for enabling click methods

2015-07-05 Thread Peter Hutterer
Makes the test code easier to read. In tests where we explicitly check the API the real calls were left in place. Signed-off-by: Peter Hutterer --- test/touchpad.c | 89 ++--- 1 file changed, 41 insertions(+), 48 deletions(-) diff --git a/test

[PATCH libinput 1/3] test: move enable_edge_scroll up

2015-07-05 Thread Peter Hutterer
No functional changes, just so we can group those helpers together. Signed-off-by: Peter Hutterer --- test/touchpad.c | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/test/touchpad.c b/test/touchpad.c index 1f11cfa..082312c 100644 --- a/test/touchp

[ANNOUNCE] libinput 0.19.0

2015-07-05 Thread Peter Hutterer
A new release of libinput, 0.19.0, is now available. The biggest change in this release is improved pointer acceleration code. Previously, slow movements were decelerated. Of course, this means the slower you move the mouse, the further you have to actually move it to move the pointer by one pixe