Re: [PATCH 5/7] evdev: Normalize orientation and pressure values

2015-06-10 Thread Peter Hutterer
On Wed, Jun 10, 2015 at 04:09:15PM +0200, Andreas Pokorny wrote: > Pressure values will be mapped into the range [0;1] while orientation > will be mapped to [-1;1] (or ]-1;1] or [0;1] depending on the how the > underlying device configures the axis value ranges). aargh. I guess there go my comment

[PATCH 5/7] evdev: Normalize orientation and pressure values

2015-06-10 Thread Andreas Pokorny
Pressure values will be mapped into the range [0;1] while orientation will be mapped to [-1;1] (or ]-1;1] or [0;1] depending on the how the underlying device configures the axis value ranges). --- src/evdev.c| 6 ++ src/evdev.h| 1 + src/libinput.c | 14 -- src/libinput.h