Re: [PATCH 3/3] touchpad: Use TOUCHPAD_MIN_SAMPLES in tp_get_delta

2014-12-15 Thread Peter Hutterer
On Fri, Dec 12, 2014 at 01:15:49PM +0100, Hans de Goede wrote: > Hi, > > On 10-12-14 04:34, Peter Hutterer wrote: > >On Tue, Dec 09, 2014 at 12:47:11PM +0100, Hans de Goede wrote: > >>Use TOUCHPAD_MIN_SAMPLES in tp_get_delta rather then hardcoding "4". > > > >s/then/than/ > > > >>Also remove the s

Re: [PATCH 3/3] touchpad: Use TOUCHPAD_MIN_SAMPLES in tp_get_delta

2014-12-12 Thread Hans de Goede
Hi, On 10-12-14 04:34, Peter Hutterer wrote: On Tue, Dec 09, 2014 at 12:47:11PM +0100, Hans de Goede wrote: Use TOUCHPAD_MIN_SAMPLES in tp_get_delta rather then hardcoding "4". s/then/than/ Also remove the superfluous TOUCHPAD_MIN_SAMPLES check before calling tp_get_delta in tp_get_pointer_

Re: [PATCH 3/3] touchpad: Use TOUCHPAD_MIN_SAMPLES in tp_get_delta

2014-12-09 Thread Peter Hutterer
On Tue, Dec 09, 2014 at 12:47:11PM +0100, Hans de Goede wrote: > Use TOUCHPAD_MIN_SAMPLES in tp_get_delta rather then hardcoding "4". s/then/than/ > Also remove the superfluous TOUCHPAD_MIN_SAMPLES check before calling > tp_get_delta in tp_get_pointer_delta, this is not necessary as tp_get_delta

[PATCH 3/3] touchpad: Use TOUCHPAD_MIN_SAMPLES in tp_get_delta

2014-12-09 Thread Hans de Goede
Use TOUCHPAD_MIN_SAMPLES in tp_get_delta rather then hardcoding "4". Also remove the superfluous TOUCHPAD_MIN_SAMPLES check before calling tp_get_delta in tp_get_pointer_delta, this is not necessary as tp_get_delta already checks itself. Signed-off-by: Hans de Goede --- src/evdev-mt-touchpad.c