linux/drivers/input
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
..
gameport Input: use module_pci_driver 2012-04-21 23:48:58 -07:00
joystick Merge branch 'next' into for-linus 2012-07-24 22:43:04 -07:00
keyboard Input: gpio_keys_polled - fix dt pdata->nbuttons 2012-09-12 21:56:20 -07:00
misc Merge branch 'for-next' of git://github.com/rydberg/linux into next 2012-10-01 14:40:51 -07:00
mouse Merge branch 'for-next' of git://github.com/rydberg/linux into next 2012-10-01 14:40:51 -07:00
serio input/serio/hp_sdc.c: remove IRQF_SAMPLE_RANDOM which is now a no-op 2012-07-19 10:38:34 -04:00
tablet Input: wacom - introduce wacom_fix_phy_from_hid 2012-10-04 23:09:31 -07:00
touchscreen Merge branch 'for-next' of git://github.com/rydberg/linux into next 2012-10-01 14:40:51 -07:00
apm-power.c Input: random formatting fixes 2012-08-21 22:29:49 -07:00
evbug.c Input: use pr_fmt and pr_<level> 2010-11-30 23:10:26 -08:00
evdev.c Input: evdev - Add the events() callback 2012-09-19 19:50:18 +02:00
ff-core.c Input: random formatting fixes 2012-08-21 22:29:49 -07:00
ff-memless.c Input: random formatting fixes 2012-08-21 22:29:49 -07:00
input-compat.c compat: Use COMPAT_USE_64BIT_TIME in the input subsystem 2012-02-20 12:48:47 -08:00
input-compat.h compat: Use COMPAT_USE_64BIT_TIME in the input subsystem 2012-02-20 12:48:47 -08:00
input-mt.c Input: MT - Allow legacy pressure computation 2012-09-19 19:50:19 +02:00
input-polldev.c Merge commit 'v3.2-rc3' into next 2011-11-29 01:51:07 -08:00
input.c Merge branch 'for-next' of git://github.com/rydberg/linux into next 2012-10-01 14:40:51 -07:00
joydev.c Input: random formatting fixes 2012-08-21 22:29:49 -07:00
Kconfig Input: matrix-keymap - uninline and prepare for device tree support 2012-05-10 22:38:47 -07:00
Makefile Input: matrix-keymap - uninline and prepare for device tree support 2012-05-10 22:38:47 -07:00
matrix-keymap.c Input: matrix-keymap - fix building keymaps 2012-05-24 01:12:20 -07:00
mousedev.c Input: random formatting fixes 2012-08-21 22:29:49 -07:00
sparse-keymap.c Input: random formatting fixes 2012-08-21 22:29:49 -07:00