Re: [PATCH libinput] touchpad: implement edge-based basic palm detection

2014-07-10 Thread Daniel Martin
On Fri, Jul 11, 2014 at 11:08:53AM +1000, Peter Hutterer wrote: > A large part of palm events are situated on the far edges of the touchpad. In > a test run on a T440s while typing a long email all but 2 touch points were > located in the outer ~5% of the touchpad. Define a 10% exclusion zone on th

[PATCH libinput] touchpad: implement edge-based basic palm detection

2014-07-10 Thread Peter Hutterer
A large part of palm events are situated on the far edges of the touchpad. In a test run on a T440s while typing a long email all but 2 touch points were located in the outer ~5% of the touchpad. Define a 10% exclusion zone on the left and right edges in which new touchpoint is automatically assign

[PATCH libinput] tablet: Don't swap X and Y in evcode_to_axis()

2014-07-10 Thread Stephen Chandler Paul
Signed-off-by: Stephen Chandler Paul --- src/evdev-tablet.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/evdev-tablet.h b/src/evdev-tablet.h index 74447bd..1b53d20 100644 --- a/src/evdev-tablet.h +++ b/src/evdev-tablet.h @@ -75,10 +75,10 @@ evcode_to_axis(const uint

Re: [PATCH libinput] tablet: Rename TILT_VERTICAL and TILT_HORIZONTAL to TILT_X and TILT_Y

2014-07-10 Thread Lyude
You're completely right, I had worried I might do that by accident and had thought I had checked to make sure I didn't. Gonna send a follow-up patch in just a minute. On Thu, 2014-07-10 at 11:40 -0700, Bill Spitzak wrote: > > On 07/09/2014 10:29 PM, Peter Hutterer wrote: > > On Wed, Jul 09, 2014

Re: [PATCH libinput] tablet: Rename TILT_VERTICAL and TILT_HORIZONTAL to TILT_X and TILT_Y

2014-07-10 Thread Lyude
You're completely right, I had worried I might do that by accident and had thought I had checked to make sure I didn't. Gonna send a follow-up patch in just a minute. On Thu, 2014-07-10 at 11:40 -0700, Bill Spitzak wrote: > > On 07/09/2014 10:29 PM, Peter Hutterer wrote: > > On Wed, Jul 09, 2014

Re: [PATCH libinput] tablet: Rename TILT_VERTICAL and TILT_HORIZONTAL to TILT_X and TILT_Y

2014-07-10 Thread Bill Spitzak
On 07/09/2014 10:29 PM, Peter Hutterer wrote: On Wed, Jul 09, 2014 at 01:14:48AM -0400, Stephen Chandler Paul wrote: Since the orientation of the tablet can potentially change, this naming scheme makes a lot more sense then VERTICAL and HORIZONTAL does since they don't reflect the actual physi