[PATCH evdev 2/2] Fix generation of proximity-in/out events.

2018-05-27 Thread Peter Hutterer
From: Andrey Zabolotnyi Invoking xf86PostProximityEvent with no valuators does nothing, so we have to provide a valid valuator set to the call. https://bugs.freedesktop.org/show_bug.cgi?id=104562 [whot: slight change from 104562 abs_vals is reset on every frame but old_vals is kept around to re

[PATCH evdev 1/2] Ignore x/y axis changes on proximity out

2018-05-27 Thread Peter Hutterer
Wacom tablet send a farewell reset to 0 on all axes when the tool goes out of proximity. Ignore those so we can rely on our variuos valuator masks always having the correct coordinates. Possible false positive if you manage to go out of proximity right above the zero datum but meh. Signed-off-by: