Re: [PATCH libinput 3/5] tablet: add pressure threshold handling

2016-01-05 Thread Peter Hutterer
On Tue, Jan 05, 2016 at 11:39:15AM -0800, Jason Gerecke wrote: > 'On Mon, Jan 4, 2016 at 5:21 PM, Peter Hutterer > wrote: > > On tablets with ABS_PRESSURE use a pressure value to determine tip state, > > not > > BTN_TOUCH. This enables us (down the road) to have device-specific pressure > > thres

Re: [PATCH libinput 3/5] tablet: add pressure threshold handling

2016-01-05 Thread Jason Gerecke
'On Mon, Jan 4, 2016 at 5:21 PM, Peter Hutterer wrote: > On tablets with ABS_PRESSURE use a pressure value to determine tip state, not > BTN_TOUCH. This enables us (down the road) to have device-specific pressure > thresholds. For now we use a 5% default for all devices. > > The threshold is a ran

[PATCH libinput 3/5] tablet: add pressure threshold handling

2016-01-04 Thread Peter Hutterer
On tablets with ABS_PRESSURE use a pressure value to determine tip state, not BTN_TOUCH. This enables us (down the road) to have device-specific pressure thresholds. For now we use a 5% default for all devices. The threshold is a range, if we go past the upper range we initiate the tip down, if we