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)
commite35fb8c1db2d6fc92783d492e458d19b06502742
tree723bb191f123f35c5e2c149b36bed155dde6a42f
parent7b824bbdd6210155bac9e1a1d795f94f8f2927b2
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