diff options
author | Jason Gerecke <killertofu@gmail.com> | 2015-12-01 02:13:51 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2015-12-02 21:44:52 +0100 |
commit | 5f33f430efe3ce2dfe4e9c5eeabb89ea5df145b6 (patch) | |
tree | d6ee445593ab6d36c470fa9bd582f34f23ec05d3 /fs | |
parent | HID: wacom: Further clean up wacom_intuos_general packet decoder (diff) | |
download | linux-5f33f430efe3ce2dfe4e9c5eeabb89ea5df145b6.tar.xz 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 'fs')
0 files changed, 0 insertions, 0 deletions