tablet: always set the changed axis bits if the coordinates differ
authorPeter Hutterer <peter.hutterer@who-t.net>
Wed, 5 Sep 2018 05:57:02 +0000 (15:57 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Wed, 5 Sep 2018 06:15:35 +0000 (16:15 +1000)
commitf8fec24c2f6e13440c4f7db7cbcc7a7dbe7d6299
tree9c169fb4430d180db5050554d827ae1043dc79d3
parentbf9c8e06eff98f0e59b1a2932a2ab20f1e14595c
tablet: always set the changed axis bits if the coordinates differ

Because we're doing axis smoothing, we may get a nonzero delta between events
even when the real axis hasn't updated. Make sure the bit is set in this case.

One part of #128

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
src/evdev-tablet.c
test/test-tablet.c