Commit fec7a84
HID: wacom: Correct distance scale for 2nd-gen Intuos devices
commit b72fb1d 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: linuxwacom/input-wacom#98
Fixes: eda01da ("HID: wacom: Add four new Intuos devices")
Signed-off-by: Jason Gerecke <[email protected]>
Cc: <[email protected]> # v4.4+
Signed-off-by: Jiri Kosina <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>1 parent 76f66b8 commit fec7a84
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
848 | 848 | | |
849 | 849 | | |
850 | 850 | | |
| 851 | + | |
| 852 | + | |
851 | 853 | | |
852 | 854 | | |
853 | 855 | | |
| |||
0 commit comments