summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-ids.h
diff options
context:
space:
mode:
authorJason Gerecke <killertofu@gmail.com>2014-11-19 01:50:08 +0100
committerJiri Kosina <jkosina@suse.cz>2014-11-21 22:39:37 +0100
commitec5fc1c1bdf0c445d2669ca9e1dbb69c9725856a (patch)
tree317fc564fb37fc22e71c984e3c9fabfb35eaa5a5 /drivers/hid/hid-ids.h
parentHID: wacom - Bamboo pen-only tablet does not support PAD (diff)
downloadlinux-ec5fc1c1bdf0c445d2669ca9e1dbb69c9725856a.tar.xz
linux-ec5fc1c1bdf0c445d2669ca9e1dbb69c9725856a.zip
HID: wacom: Report ABS_TILT_{X,Y} as signed values
Centers the ABS_TILT_{X,Y} axes so that a value of zero is reported when the pen is vertical. Combined with resolution information in the next patch, this makes it possible for userspace to calculate the pen angle without needing hardware-specific knowledge. The xf86-input-wacom driver was updated to support signed tilt values in late-2012 (2f2acec). Signed-off-by: Jason Gerecke <killertofu@gmail.com> Reviewed-by: Ping Cheng <pingc@wacom.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-ids.h')
0 files changed, 0 insertions, 0 deletions