Re: [PATCH v2 libinput 25/26] tablet: add libinput_tablet_get_axis_delta()

2015-02-26 Thread Peter Hutterer
On Thu, Feb 26, 2015 at 02:54:03PM -0500, Benjamin Tissoires wrote: > On Wed, Feb 25, 2015 at 11:33 PM, Peter Hutterer > wrote: > > Signed-off-by: Peter Hutterer > > --- > > Changes to v2: > > - delta was stored in tablet->axes[a], causing a wrong axis_value and a > > wrong axis_delta. which the

Re: [PATCH v2 libinput 25/26] tablet: add libinput_tablet_get_axis_delta()

2015-02-26 Thread Benjamin Tissoires
On Wed, Feb 25, 2015 at 11:33 PM, Peter Hutterer wrote: > Signed-off-by: Peter Hutterer > --- > Changes to v2: > - delta was stored in tablet->axes[a], causing a wrong axis_value and a > wrong axis_delta. which the test didn' catch because it didn't trigger. > fixed now, store the wheel value in

[PATCH v2 libinput 25/26] tablet: add libinput_tablet_get_axis_delta()

2015-02-25 Thread Peter Hutterer
Signed-off-by: Peter Hutterer --- Changes to v2: - delta was stored in tablet->axes[a], causing a wrong axis_value and a wrong axis_delta. which the test didn' catch because it didn't trigger. fixed now, store the wheel value in deltas and leave axes at 0 src/evdev-tablet.c | 56 +++