diff options
author | Jason Gerecke <jason.gerecke@wacom.com> | 2019-08-07 14:11:55 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-09-06 10:19:36 +0200 |
commit | 50a583b3c219ba85662356207580157a3384cc6d (patch) | |
tree | 06a4c6caef74bc994dfd0c15e9522602344a0f09 /drivers/md | |
parent | af00cc24f21bee2589e3cd4f90485b281b211bfe (diff) |
HID: wacom: Correct distance scale for 2nd-gen Intuos devices
commit b72fb1dcd2ea9d29417711cb302cef3006fa8d5a upstream.
Distance values reported by 2nd-gen Intuos tablets are on an inverted
scale (0 == far, 63 == near). We need to change them over to a normal
scale before reporting to userspace or else userspace drivers and
applications can get confused.
Ref: https://github.com/linuxwacom/input-wacom/issues/98
Fixes: eda01dab53 ("HID: wacom: Add four new Intuos devices")
Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
Cc: <stable@vger.kernel.org> # v4.4+
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/md')
0 files changed, 0 insertions, 0 deletions