[PATCH libinput 0/5] tablet: pressure threshold handling

Peter Hutterer peter.hutterer at who-t.net
Mon Jan 4 17:21:04 PST 2016


This patchset adds pressure thresholds handling for tools. Rather than
relying on BTN_TOUCH being set by the kernel, we look at the pressure and
generate our tip events based on that. Long-term this can be
device-specific, right now we just use 5%.

One major functional change: this means tip events now replace the axis
event, i.e. where before a caller would get an axis event with axis updates
+ a tip event with unchanged axes, now the caller only gets the tip event,
with the axis updates includes.

Cheers,
  Peter


More information about the wayland-devel mailing list