Re: [PATCH libinput] tablet: fix distance normalization range after 25a9f39

2016-04-27 Thread Jason Gerecke
On Mon, Apr 25, 2016 at 7:22 PM, Peter Hutterer wrote: > 25a9f39 changed the range to [-1, 1] but that's incorrect for the distance > values. Split the normalization up into two functions and make sure our > distance range is correct. > > https://bugs.freedesktop.org/show_bug.cgi?id=95074 > > And

[PATCH libinput] tablet: fix distance normalization range after 25a9f39

2016-04-25 Thread Peter Hutterer
25a9f39 changed the range to [-1, 1] but that's incorrect for the distance values. Split the normalization up into two functions and make sure our distance range is correct. https://bugs.freedesktop.org/show_bug.cgi?id=95074 And while we're at it, sneak in a test for pressure ranges too. Signed-