Re: [PATCH libinput 5/9] touchpad: add touch-size based touch handling

2017-03-30 Thread Peter Hutterer
On Wed, Mar 29, 2017 at 02:59:04PM +1000, Peter Hutterer wrote: > Apple touchpads don't use ABS_MT_PRESSURE but they are multitouch touchpads, > so the current pressure-based handling code doesn't apply because it expects > slot-based pressure for mt touchpads. > > Apple does however send useful

[PATCH libinput 5/9] touchpad: add touch-size based touch handling

2017-03-28 Thread Peter Hutterer
Apple touchpads don't use ABS_MT_PRESSURE but they are multitouch touchpads, so the current pressure-based handling code doesn't apply because it expects slot-based pressure for mt touchpads. Apple does however send useful data for ABS_MT_WIDTH_MAJOR/MINOR, so let's use that instead. Bonus point: