Re: [PATCH libinput 2/3] tablet: normalize the distance to 0..1

2014-06-23 Thread Peter Hutterer
On Mon, Jun 23, 2014 at 01:08:42PM +0200, Hans de Goede wrote: > Hi, > > On 06/23/2014 06:16 AM, Peter Hutterer wrote: > > The actual data provided by current tablets is not anywhere close to > > accurate. > > While it'd be nice to have this in mm, this is unlikely to happen anytime > > soon. Use

Re: [PATCH libinput 2/3] tablet: normalize the distance to 0..1

2014-06-23 Thread Hans de Goede
Hi, On 06/23/2014 06:16 AM, Peter Hutterer wrote: > The actual data provided by current tablets is not anywhere close to accurate. > While it'd be nice to have this in mm, this is unlikely to happen anytime > soon. Use the same 0..1 normalized range as pressure has. > > Signed-off-by: Peter Hutte

[PATCH libinput 2/3] tablet: normalize the distance to 0..1

2014-06-22 Thread Peter Hutterer
The actual data provided by current tablets is not anywhere close to accurate. While it'd be nice to have this in mm, this is unlikely to happen anytime soon. Use the same 0..1 normalized range as pressure has. Signed-off-by: Peter Hutterer --- src/evdev-tablet.c | 2 -- src/libinput.h | 4 +