]> git.baikalelectronics.ru Git - kernel.git/commit
Input: wacom_w8001 - report resolution to userland
authorPing Cheng <pinglinux@gmail.com>
Tue, 1 Feb 2011 05:06:38 +0000 (21:06 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 1 Feb 2011 05:32:24 +0000 (21:32 -0800)
commit972183a2b9de53d0984ed1d7a223c85dc52a74a1
treed29f3b73e0b887775de3e4bcc69dd744ae8cd3b8
parent64c4e111c05fa7b055fb7b35bee342b758a53c8a
Input: wacom_w8001 - report resolution to userland

Serial devices send both pen and touch data through the same logical
port. Since we scaled touch to pen maximum, we use pen resolution
for touch as well here.

This is under the assumption that pen and touch share the same physical
surface. In the case when a small physical dimensional difference occurs
between pen and touch, we assume the tolerance for touch point precision
is higher than pen and the difference is within touch point tolerance.

A per-MT tool based resolution mechanism should be introduced if the
above assumption does not hold true for the pen and touch devices any
more.

Signed-off-by: Ping Cheng <pingc@wacom.com>
Reviewed-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/touchscreen/wacom_w8001.c