diff options
author | Jason Gerecke <jason.gerecke@wacom.com> | 2019-08-07 23:11:55 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2019-08-19 14:08:58 +0200 |
commit | b72fb1dcd2ea9d29417711cb302cef3006fa8d5a (patch) | |
tree | 19a9e1ccde3ebefcd24203b7f90c542b9e318c23 /drivers/hid/intel-ish-hid/ipc | |
parent | HID: logitech-hidpp: remove support for the G700 over USB (diff) | |
download | linux-b72fb1dcd2ea9d29417711cb302cef3006fa8d5a.tar.xz linux-b72fb1dcd2ea9d29417711cb302cef3006fa8d5a.zip |
HID: wacom: Correct distance scale for 2nd-gen Intuos devices
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>
Diffstat (limited to 'drivers/hid/intel-ish-hid/ipc')
0 files changed, 0 insertions, 0 deletions