Re: [PATCH libinput 01/10] Replace pointer acceleration with a much simpler linear one

2014-09-21 Thread Peter Hutterer
On Fri, Sep 19, 2014 at 10:09:58AM +0100, Steven Newbury wrote: On Fri, 2014-09-19 at 15:44 +1000, Peter Hutterer wrote: We ran a userstudy, evaluating three different accel methods. Detailed results are available at:

[PATCH v2 libinput 05.5/10] touchpad: use the evdev device's filter struct

2014-09-21 Thread Peter Hutterer
We don't need a separate filter struct, we can use the parent evdev device. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- Changes to v1: - didn't exist in the first set of patches, slots in after 05/10 - prep work for having the same code for pointer accel functions

[PATCH v2 libinput 08/10] touchpad: hook up pointer acceleration configuration

2014-09-21 Thread Peter Hutterer
Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- Changes to v1: - don't duplicate the accel config code, just re-use it for touchpad src/evdev-mt-touchpad.c | 7 +-- src/evdev.c | 6 +++--- src/evdev.h | 3 +++ 3 files changed, 7 insertions(+), 9

[PATCH v2 libinput 05/10] filter: adjust acceleration curve depending on speed

2014-09-21 Thread Peter Hutterer
The acceleration curve consists of four parts, in ascii-art like this: _ / / / / where the x axis is the speed, y is the acceleration factor. The first plateau is at the acceleration factor 1 (i.e. unaccelerated movement), the second plateau is at the max

Re: [PATCH libinput 1/3] core: Add internal event notification mechanism

2014-09-21 Thread Peter Hutterer
On Thu, Sep 18, 2014 at 01:11:03PM +0200, Hans de Goede wrote: For features like e.g. disable-touchpad-while-typing, it is necessary for one device to be able to listen into another device's events. It is tempting to use the existing device_added / device_removed mechanism to give e.g. the

Re: [PATCH libinput 2/3] core: Move libinput_event definition to libinput-private.h

2014-09-21 Thread Peter Hutterer
On Thu, Sep 18, 2014 at 01:11:04PM +0200, Hans de Goede wrote: Signed-off-by: Hans de Goede hdego...@redhat.com Reviewed-by: Peter Hutterer peter.hutte...@who-t.net --- src/libinput-private.h | 5 + src/libinput.c | 5 - 2 files changed, 5 insertions(+), 5 deletions(-)

Re: [PATCH libinput 3/3] touchpad: Disable touchpads on trackpoint activity

2014-09-21 Thread Peter Hutterer
On Thu, Sep 18, 2014 at 01:11:05PM +0200, Hans de Goede wrote: Some laptops with both a clickpad and a trackpoint have such a large touchpad, that parts of the users hands will touch the pad when using the trackpoint. Examples of this are the Lenovo T440s and the Toshiba Tecra Z40-A. This