OSDN Git Service

Rely on SYN-Events when pen is lifted
authorChris Larson <clarson@kergoth.com>
Tue, 24 Mar 2009 18:05:15 +0000 (18:05 +0000)
committerChris Larson <clarson@kergoth.com>
Tue, 24 Mar 2009 18:05:15 +0000 (18:05 +0000)
commit93e00fec86cd21af033aecea3d165b5250558b8f
treea702f5d290f4a6059b1c3eb26993dd3f8f5759f3
parent908bdb713c9b636a545b0e1c35d644eabeea0e7f
Rely on SYN-Events when pen is lifted

when the input-raw module of tslib relies on SYN-Events, it should not report
a BTN_TOUCH to upper layers before the corresponding EV_SYN was seen.

This prevents seeing two pen up events as described in my posting from
Jan, 14 2009.

Signed-off-by: Michael Heimpold <michael.heimpold@s2000.tu-chemnitz.de>
Signed-off-by: Chris Larson <clarson@kergoth.com>
plugins/input-raw.c