commit | 5f33f430efe3ce2dfe4e9c5eeabb89ea5df145b6 | [log] [tgz] |
---|---|---|
author | Jason Gerecke <killertofu@gmail.com> | Mon Nov 30 17:13:51 2015 -0800 |
committer | Jiri Kosina <jkosina@suse.cz> | Wed Dec 02 21:44:52 2015 +0100 |
tree | d6ee445593ab6d36c470fa9bd582f34f23ec05d3 | |
parent | 571f572f9acf7e03fd0e8eb1449e75447295d457 [diff] |
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>