]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
HID: wacom: Correct logical maximum Y for 2nd-gen Intuos Pro large
authorJason Gerecke <killertofu@gmail.com>
Tue, 12 Jun 2018 20:42:46 +0000 (13:42 -0700)
committerJiri Kosina <jkosina@suse.cz>
Wed, 20 Jun 2018 07:27:23 +0000 (09:27 +0200)
commitd471b6b22d37bf9928c6d0202bdaaf76583b8b61
treeabc16189e2bb1e170181c5f3a3fca455179c8a21
parentebeaa367548e9e92dd9374b9464ff6e7d157117b
HID: wacom: Correct logical maximum Y for 2nd-gen Intuos Pro large

The HID descriptor for the 2nd-gen Intuos Pro large (PTH-860) contains
a typo which defines an incorrect logical maximum Y value. This causes
a small portion of the bottom of the tablet to become unusable (both
because the area is below the "bottom" of the tablet and because
'wacom_wac_event' ignores out-of-range values). It also results in a
skewed aspect ratio.

To fix this, we add a quirk to 'wacom_usage_mapping' which overwrites
the data with the correct value.

Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
CC: stable@vger.kernel.org # v4.10+
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/wacom_sys.c