Re: [PATCH libinput 2/8] evdev: Avoid double touch down/up events

2014-03-26 Thread Michael Schellenberger Costa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I might be dumb but doesnt this require motion between clicks? In that case you would lose for example track balls which do not necessary move between clicks. Best wishes Michael On 25.03.2014 21:45, Jonas Ådahl wrote: When the kernel sends

Re: [PATCH libinput 2/8] evdev: Avoid double touch down/up events

2014-03-26 Thread Peter Hutterer
On Wed, Mar 26, 2014 at 07:45:32AM +0100, Michael Schellenberger Costa wrote: I might be dumb but doesnt this require motion between clicks? In that case you would lose for example track balls which do not necessary move between clicks. this is for touch events only here, and the only way

Re: [PATCH libinput 2/8] evdev: Avoid double touch down/up events

2014-03-26 Thread Jonas Ådahl
On Wed, Mar 26, 2014 at 05:30:14PM +1000, Peter Hutterer wrote: On Wed, Mar 26, 2014 at 07:45:32AM +0100, Michael Schellenberger Costa wrote: I might be dumb but doesnt this require motion between clicks? In that case you would lose for example track balls which do not necessary move

Re: [PATCH libinput 2/8] evdev: Avoid double touch down/up events

2014-03-26 Thread Peter Hutterer
On Wed, Mar 26, 2014 at 08:40:43AM +0100, Jonas Ådahl wrote: On Wed, Mar 26, 2014 at 05:30:14PM +1000, Peter Hutterer wrote: On Wed, Mar 26, 2014 at 07:45:32AM +0100, Michael Schellenberger Costa wrote: I might be dumb but doesnt this require motion between clicks? In that case you

[PATCH libinput 2/8] evdev: Avoid double touch down/up events

2014-03-25 Thread Jonas Ådahl
When the kernel sends multiple touch down or touch up for the same slot in a row, ignore any such subsequent event ensuring libinput always produces 1 x touch down - [n x touch motion] - 1 x touch up event series. Signed-off-by: Jonas Ådahl jad...@gmail.com --- src/evdev.c | 13 + 1