]> git.baikalelectronics.ru Git - kernel.git/commit
Input: wacom - add ABS_DISTANCE to Bamboo Pen reports
authorChris Bagwell <chris@cnpbagwell.com>
Mon, 10 Oct 2011 15:52:13 +0000 (08:52 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 10 Oct 2011 15:55:34 +0000 (08:55 -0700)
commit8877c9473dd88f8e2a7a6a729591799a216b6706
tree2874b21a6c98cab5d3ac8d3ea8add92620de9187
parente5870c6d47f438abc460a1dbbe82c7e0840cc817
Input: wacom - add ABS_DISTANCE to Bamboo Pen reports

Tablet reports a distance of 0 right at highest point possible
to be in proximity and distance_max when touching tablet. Inverse
the distance since user land has no way of knowing ABS_DISTANCE
is not distance from tablet.

Signed-off-by: Chris Bagwell <chris@cnpbagwell.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/tablet/wacom_wac.c