summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorJason Gerecke <killertofu@gmail.com>2016-10-19 18:03:44 -0700
committerJiri Kosina <jkosina@suse.cz>2016-10-20 09:53:57 +0200
commitb5c921e6c3916cdadd6e605d792f811abf7a5f82 (patch)
treea48d0f6c04eaba605ef8ea9bd71bc5b587f75bf1 /usr
parentc9c095874ab4446be6dec6755d8f68862fdeae48 (diff)
downloadlinux-b5c921e6c3916cdadd6e605d792f811abf7a5f82.tar.bz2
HID: wacom: generic: Add support for vendor-defined "Distance" usage
The vendor-defined 0xFF0D01032 ("Distance") usage is nearly equivalent to HID_GD_Z, except that the axis direction is inverted. Unlike HID_GD_Z which increases in value as the pen-to-surface distance is decreased, this usage decreases. Treat this usage as a special case to ensure we don't invert the scale to be ABS_DISTANCE compatible like we do for HID_GD_Z. Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com> Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions