[PATCH libinput] touchpad: work palm detection into the tap state machine

2017-11-05 Thread Peter Hutterer
Unlike the already-existing thumb detection, a touch may be labelled palm at any time, not just during the initial touch down. This requires full integration into the tap state machine to unwind properly. For most states, a palm detection simply ignores the finger and reverts to the most recent sta

Re: [Resend: PATCH libinput 1/2] tools: Handle LIBINPUT_SWITCH_TABLET_MODE

2017-11-05 Thread Peter Hutterer
On Mon, Nov 06, 2017 at 12:12:26AM +0100, Stefan Brüns wrote: > On Monday, November 6, 2017 12:00:06 AM CET you wrote: > > On Sat, Nov 04, 2017 at 06:37:27PM +0100, Stefan Brüns wrote: > > > From: Stefan Brüns > > > > > > Signed-off-by: Stefan Brüns > > > --- > > > > > > tools/libinput-debug-

Re: [Resend: PATCH libinput 1/2] tools: Handle LIBINPUT_SWITCH_TABLET_MODE

2017-11-05 Thread Stefan Brüns
On Monday, November 6, 2017 12:00:06 AM CET you wrote: > On Sat, Nov 04, 2017 at 06:37:27PM +0100, Stefan Brüns wrote: > > From: Stefan Brüns > > > > Signed-off-by: Stefan Brüns > > --- > > > > tools/libinput-debug-events.c | 3 +++ > > 1 file changed, 3 insertions(+) > > > > diff --git a/to

Re: [Resend: PATCH libinput 1/2] tools: Handle LIBINPUT_SWITCH_TABLET_MODE

2017-11-05 Thread Peter Hutterer
On Sat, Nov 04, 2017 at 06:37:27PM +0100, Stefan Brüns wrote: > From: Stefan Brüns > > Signed-off-by: Stefan Brüns > --- > tools/libinput-debug-events.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/tools/libinput-debug-events.c b/tools/libinput-debug-events.c > index 87b7b80..f

Re: [PATCH libinput] tools: Handle LIBINPUT_SWITCH_TABLET_MODE

2017-11-05 Thread Peter Hutterer
On Fri, Nov 03, 2017 at 11:01:23PM +0100, Stefan Brüns wrote: > From: Stefan Brüns > > Signed-off-by: Stefan Brüns > --- > tools/libinput-debug-events.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/tools/libinput-debug-events.c b/tools/libinput-debug-events.c > index 87b7b80..f

Re: [PATCH libinput] tools: Show gesture/switch capabilities in list-devices output

2017-11-05 Thread Peter Hutterer
On Fri, Nov 03, 2017 at 11:22:15PM +0100, Stefan Brüns wrote: > Signed-off-by: Stefan Brüns > --- > tools/libinput-list-devices.c | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/tools/libinput-list-devices.c b/tools/libinput-list-devices.c > index 376a3c9..aa225ca 100644 > --- a/t