Re: [PATCH weston 1/3] Introduce pointer lock interface

2014-09-21 Thread Pekka Paalanen
On Sat, 20 Sep 2014 11:43:22 -0700 Jason Ekstrand wrote: > On Sat, Sep 20, 2014 at 1:29 AM, Pekka Paalanen wrote: > > > On Fri, 19 Sep 2014 20:20:53 +0200 > > Jonas Ã…dahl wrote: > > > > > On Fri, Sep 19, 2014 at 11:00:21AM -0600, Jasper St. Pierre wrote: > > > > On Fri, Sep 19, 2014 at 2:54 AM

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. > > Thi

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 Reviewed-by: Peter Hutterer > --- > src/libinput-private.h | 5 + > src/libinput.c | 5 - > 2 files changed, 5 insertions(+), 5 deletions(-) > > diff --git a/src/libinput-private.h b

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. t

[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 accelera

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

2014-09-21 Thread Peter Hutterer
Signed-off-by: Peter Hutterer --- 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 deletions(-) diff --git a/src/evde

[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 --- 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 src/evdev-mt-touchpad.c | 5 ++--- src/e

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: > > > http://www.who-t.net/publications/hutterer2014_libinput_ptr