Re: [PATCH libinput] tablet: add a fuzz-filter to avoid spamming callers with subpixel updates

2016-04-11 Thread Peter Hutterer
On Mon, Apr 11, 2016 at 06:43:15PM -0700, Jason Gerecke wrote: > On Mon, Apr 11, 2016 at 5:17 PM, Peter Hutterer > wrote: > > This is especially a problem for the cursor tool which can be legitimately > > left on the tablet. It wobbles by a couple of device units,

Re: [PATCH libinput] tablet: add a fuzz-filter to avoid spamming callers with subpixel updates

2016-04-11 Thread Jason Gerecke
On Mon, Apr 11, 2016 at 5:17 PM, Peter Hutterer wrote: > This is especially a problem for the cursor tool which can be legitimately > left on the tablet. It wobbles by a couple of device units, resulting in > continuous axis updates to the caller. Pre-filter any of these

[PATCH libinput] tablet: add a fuzz-filter to avoid spamming callers with subpixel updates

2016-04-11 Thread Peter Hutterer
This is especially a problem for the cursor tool which can be legitimately left on the tablet. It wobbles by a couple of device units, resulting in continuous axis updates to the caller. Pre-filter any of these events by the axis' fuzz value so we don't even process them. For ABS_DISTANCE which