android_kernel_motorola_sm6225/drivers/input/tablet
Jason Gerecke 115d5e12a7 Input: wacom - introduce wacom_fix_phy_from_hid
The Cintiq 24HD touch cannot use wacom_set_phy_from_res to determine
the physical size of the touch sensor since the pen and touch are
on separate USB devices. The physical size is, however, provided in
the HID descriptor, just scaled to a unit we don't use.

This patch introduces the function wacom_fix_phy_from_hid to let
us make use of the unit and exponent data provided by HID to set
the [xy]_phy variables to an appropriate value. This function
relies on a trimmed-down version of hidinput_calc_abs_res from
the hid-input.c.

Signed-off-by: Jason Gerecke <killertofu@gmail.com>
Tested-by: Ping Cheng <pingc@wacom.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2012-10-04 23:09:31 -07:00
..
acecad.c USB: input: acecad.c: fix up dev_* messages 2012-05-04 15:33:04 -07:00
aiptek.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2012-05-24 10:34:29 -07:00
gtco.c USB: input: gtco.c: fix up dev_* messages 2012-05-04 15:33:09 -07:00
hanwang.c Input: hanwang - add support for Art Master II tablet 2012-07-13 00:14:27 -07:00
kbtab.c USB: input: kbtab.c: fix up dev_* messages 2012-05-04 15:33:11 -07:00
Kconfig Merge branch 'next' into for-linus 2012-03-27 00:27:10 -07:00
Makefile Input: add support for Hanwang tablets 2010-09-01 23:26:18 -07:00
wacom.h Input: wacom - add 0xE5 (MT device) support 2012-04-29 21:13:53 -07:00
wacom_sys.c Input: wacom - introduce wacom_fix_phy_from_hid 2012-10-04 23:09:31 -07:00
wacom_wac.c Input: wacom - allow any multi-input Intuos device to set prox 2012-10-03 23:58:20 -07:00
wacom_wac.h Input: wacom - add support to Cintiq 22HD 2012-07-24 23:55:10 -07:00