Input: wacom - add a quirk for low resolution Bamboo devices
commitf4ccbef2886968ed409939531f6dd0474d53a12a
authorHenrik Rydberg <rydberg@euromail.se>
Sun, 5 Sep 2010 19:57:13 +0000 (5 12:57 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 5 Sep 2010 19:58:22 +0000 (5 12:58 -0700)
tree764b513e40b681bf3bd908e40e8e3a21015d7579
parentcb734c03680eaaad64a20a666300eafd1ac260b2
Input: wacom - add a quirk for low resolution Bamboo devices

The Bamboo Touch reports a sub-screen resolution of 480x320.  The
signal-to-noise ratio is only about 100, so filtering is needed in
order to reduce the jitter to a usable level. However, the low
resolution leads to round-off errors in the EWMA filter, resulting in
extremely jerky pointer motion. This patch explicitly sets a higher
resolution for those devices, and tells this to the completion handler
via a low-resolution quirk.

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