]> 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)
commitfa5a5a6fdbdf5ee28dada2c37102be133948bd31
tree2874b21a6c98cab5d3ac8d3ea8add92620de9187
parenta7ee0dd9ce3962b4c62b6f76ca163d75edb08ad5
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