Re: [PATCH libinput] tablet: use the tilt resolution if we have it

2016-02-22 Thread Peter Hutterer
On Mon, Feb 22, 2016 at 05:58:22PM -0800, Jason Gerecke wrote: > On 02/17/2016 05:39 PM, Peter Hutterer wrote: > > A nonzero resolution on the tilt axes is units/rad so we can calculate the > > physical min/max based. Uneven min/max ranges are supported. > > > > Signed-off-by: Peter Hutterer > >

Re: [PATCH libinput] tablet: use the tilt resolution if we have it

2016-02-22 Thread Jason Gerecke
On 02/17/2016 05:39 PM, Peter Hutterer wrote: > A nonzero resolution on the tilt axes is units/rad so we can calculate the > physical min/max based. Uneven min/max ranges are supported. > > Signed-off-by: Peter Hutterer > --- > src/evdev-tablet.c | 28 +--- > test/tablet.

[PATCH libinput] tablet: use the tilt resolution if we have it

2016-02-17 Thread Peter Hutterer
A nonzero resolution on the tilt axes is units/rad so we can calculate the physical min/max based. Uneven min/max ranges are supported. Signed-off-by: Peter Hutterer --- src/evdev-tablet.c | 28 +--- test/tablet.c | 12 2 files changed, 29 insertions(+),