diff options
author | Ping Cheng <pinglinux@gmail.com> | 2011-03-12 20:34:42 -0800 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2011-03-12 20:37:20 -0800 |
commit | a43c7c53835ba1ff4e488806d0f8b98e9dce9b0e (patch) | |
tree | 1a0d4d39432636d2dabe861e88c5cf0103d0f78a /lib/.gitignore | |
parent | 8aa9a9ac89baa0e423da0211e0883d28165697e0 (diff) | |
download | op-kernel-dev-a43c7c53835ba1ff4e488806d0f8b98e9dce9b0e.zip op-kernel-dev-a43c7c53835ba1ff4e488806d0f8b98e9dce9b0e.tar.gz |
Input: wacom - support one finger touch the touchscreen way
There are two types of 1FGT devices supported in wacom_wac.c.
Changing them to follow the existing touchscreen format, i.e.,
only report BTN_TOUCH as a valid tool type.
Touch data will be ignored if pen is in proximity. This requires
a touch up event sent if touch was down when pen comes in. The
touch up event should be sent before any pen events are emitted.
Otherwise, two pointers would race for the cursor.
However, we can not send a touch up inside wacom_tpc_pen since
pen and touch are on different logical port. That is why we
have to check if touch is up before sending pen events.
Reviewed-by: Henrik Rydberg <rydberg@euromail.se>
Reviewed-by: Chris Bagwell <chris@cnpbagwell.com>
Signed-off-by: Ping Cheng <pingc@wacom.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'lib/.gitignore')
0 files changed, 0 insertions, 0 deletions