aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/hid/wacom_wac.h
diff options
context:
space:
mode:
authorJason Gerecke <killertofu@gmail.com>2015-11-30 17:13:51 -0800
committerJiri Kosina <jkosina@suse.cz>2015-12-02 21:44:52 +0100
commit5f33f430efe3ce2dfe4e9c5eeabb89ea5df145b6 (patch)
treed6ee445593ab6d36c470fa9bd582f34f23ec05d3 /drivers/hid/wacom_wac.h
parentHID: wacom: Further clean up wacom_intuos_general packet decoder (diff)
downloadwireguard-linux-5f33f430efe3ce2dfe4e9c5eeabb89ea5df145b6.tar.xz
wireguard-linux-5f33f430efe3ce2dfe4e9c5eeabb89ea5df145b6.zip
HID: wacom: Clean up value reading
Make the logic for reading X, Y, distance, and pressure a bit more clear. An additional bit was stuffed into the packet format many models back, and /most/ devices in use will use it. If we happen to be dealing with a particularly old tablet, just shift it off the end to pretend we never read it. Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/wacom_wac.h')
0 files changed, 0 insertions, 0 deletions