Re: [PATCH libinput] filter: fix acceleration threshold assignment

2015-08-03 Thread Jonas Ådahl
On Tue, Aug 04, 2015 at 03:37:13PM +1000, Peter Hutterer wrote: > The new values were in units/us and didn't make the switch back to ms in > 8a6825f1602. > > Signed-off-by: Peter Hutterer Reviewed-by: Jonas Ådahl > --- > src/filter.c | 7 --- > 1 file changed, 4 insertions(+), 3 deletions

Re: [PATCH libinput tablet] tablet: add get_time_usec() for tablets, switch to usec

2015-08-03 Thread Jonas Ådahl
On Tue, Aug 04, 2015 at 02:10:16PM +1000, Peter Hutterer wrote: > Signed-off-by: Peter Hutterer Reviewed-by: Jonas Ådahl > --- > src/evdev-tablet.c | 16 > src/libinput-private.h | 6 +++--- > src/libinput.c | 14 ++ > src/libinput.h | 9 +

[PATCH libinput] filter: fix acceleration threshold assignment

2015-08-03 Thread Peter Hutterer
The new values were in units/us and didn't make the switch back to ms in 8a6825f1602. Signed-off-by: Peter Hutterer --- src/filter.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/filter.c b/src/filter.c index 2506ee2..e11d58a 100644 --- a/src/filter.c +++ b/src/f

Re: [PATCH libinput] filter: rename all velocity-related bits to *velocity_ms*

2015-08-03 Thread Peter Hutterer
On Tue, Aug 04, 2015 at 10:48:19AM +0800, Jonas Ådahl wrote: > On Tue, Aug 04, 2015 at 10:05:10AM +1000, Peter Hutterer wrote: > > Everything in libinput is in µs now, make it clear that this is all in ms. > > > > Signed-off-by: Peter Hutterer > > --- > > We also have the "speed" in the profiles

[PATCH libinput tablet] tablet: add get_time_usec() for tablets, switch to usec

2015-08-03 Thread Peter Hutterer
Signed-off-by: Peter Hutterer --- src/evdev-tablet.c | 16 src/libinput-private.h | 6 +++--- src/libinput.c | 14 ++ src/libinput.h | 9 + src/libinput.sym | 1 + 5 files changed, 31 insertions(+), 15 deletions(-) diff --git a/sr

Re: [PATCH libinput] filter: rename all velocity-related bits to *velocity_ms*

2015-08-03 Thread Jonas Ådahl
On Tue, Aug 04, 2015 at 10:05:10AM +1000, Peter Hutterer wrote: > Everything in libinput is in µs now, make it clear that this is all in ms. > > Signed-off-by: Peter Hutterer > --- We also have the "speed" in the profiles that are in units/ms but not named accordingly. Also wonder why we have bo

[ANNOUNCE] libinput 0.21.0

2015-08-03 Thread Peter Hutterer
A new release of libinput, 0.21.0, is now available. This should've been the 1.0RC1 but we had way too many changes after 0.20 to be comfortable claiming we're stable now. So here's another 0.x release, hopefully the last one. A new addition to the API is the configuration option to toggle disab

[PATCH v3 libinput] touchpad: serial synaptics need to fake new touches on TRIPLETAP

2015-08-03 Thread Peter Hutterer
On the 4.1 kernels synaptics pretends to have 3 slots (the serial fw only does 2). This was added to avoid cursor jumps but has since been reverted for 4.2 (kernel commit dbf3c37086, 4.1.3 is still buggy). In some cases a TRIPLETAP may be triggered without slot 2 ever activating. While there are s

[PATCH libinput] filter: rename all velocity-related bits to *velocity_ms*

2015-08-03 Thread Peter Hutterer
Everything in libinput is in µs now, make it clear that this is all in ms. Signed-off-by: Peter Hutterer --- src/filter.c | 64 ++-- src/filter.h | 2 +- 2 files changed, 33 insertions(+), 33 deletions(-) diff --git a/src/filter.c b/src/f

Re: [PATCH libinput] touchpad: always enable the bottom-most area for thumb detection

2015-08-03 Thread Hans de Goede
Hi, On 03-08-15 06:29, Peter Hutterer wrote: If the touchpad is higher than 50mm, enable bottom area thumb detection. This only applies to the bottom-most 8mm and only if the touch remains unmoving in that area. Signed-off-by: Peter Hutterer LGTM: Reviewed-by: Hans de Goede Regards, Hans

Re: [PATCH libinput] gestures: reduce 2fg scroll timeout to 500ms

2015-08-03 Thread Hans de Goede
Hi, On 03-08-15 07:48, Peter Hutterer wrote: Holding the fingers in place without moving for 500ms is long enough to lock in a scroll gesture, especially while we're still waiting for the rest of the stack to expose pinch gestures. Signed-off-by: Peter Hutterer LGTM: Reviewed-by: Hans de Goe