Re: [PATCH libinput 1/3] Deduplicate and rename normalization functionality

2014-12-08 Thread Bill Spitzak
On 12/08/2014 09:59 AM, Jason Gerecke wrote: +normalize_double_ended(const struct input_absinfo * absinfo) { + /* Map from (0, 1) to the (-1, 1) range */ I think you mean "Map from (min, max) to the (-1, 1) range" ___ wayland-devel mailing list

[PATCH libinput 1/3] Deduplicate and rename normalization functionality

2014-12-08 Thread Jason Gerecke
Changes the names to reflect the functionality, not the use case. Also defines one in terms of the other so that we aren't repeating ourselves. Signed-off-by: Jason Gerecke Acked-by: Peter Hutterer --- src/evdev-tablet.c | 15 ++- 1 file changed, 6 insertions(+), 9 deletions(-) dif