]> git.baikalelectronics.ru Git - kernel.git/commit
Input: wacom - report resolution for pen devices
authorPing Cheng <pinglinux@gmail.com>
Sun, 27 Mar 2011 04:16:05 +0000 (21:16 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 27 Mar 2011 05:31:06 +0000 (22:31 -0700)
commit6543aaf5a81e8472fa2ee3b0c30930ff9fab13c5
tree723bb191f123f35c5e2c149b36bed155dde6a42f
parent5411f45ee6060876a68e003efe5b7db28cb2339d
Input: wacom - report resolution for pen devices

Touch resolution is reported to the userland by retrieving the value
from the HID descriptor. But pen resolution is not since it can not
be retrieved. The current Wacom X driver has a resolution table.
To centralize the source of these values, the resolution entries are
added in the wacom_features struct for x and y coordinates respectively.
The values are then reported to the userland.

Signed-off-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