diff options
| author | Chris Bagwell <[email protected]> | 2011-09-09 20:38:10 +0000 |
|---|---|---|
| committer | Dmitry Torokhov <[email protected]> | 2011-09-13 05:08:59 +0000 |
| commit | 8f9068609e8a5b4cbac9e0cf8332b5dcabf05422 (patch) | |
| tree | 03e532daea4d8df16c42c77e118cf9fe981ae543 /drivers/i2c/algos/i2c-algo-bit.c | |
| parent | Input: bcm5974 - add MacBookAir4,1 trackpad support (diff) | |
| download | kernel-8f9068609e8a5b4cbac9e0cf8332b5dcabf05422.tar.gz kernel-8f9068609e8a5b4cbac9e0cf8332b5dcabf05422.zip | |
Input: wacom - fix touch parsing on newer Bamboos
Bamboos with Product ID's > 0xD4 return values unrelated to pressure
in touch 1 pressure field. They also report 2nd touch X/Y values
shifted down 1 byte (where pressure was). This results in jumpy
1 finger touch and totally invalid 2nd finger data.
For touch detection, switch to a Touch Present single bit that
all versions of Bamboo support.
For touch 2 offset, calculate offset based on a bit that is set
different between the two packet layouts.
Since touch pressure reports were removed from driver, there was
no need to be reading pressure any more.
Signed-off-by: Chris Bagwell <[email protected]>
Reviewed-by: Ping Cheng <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'drivers/i2c/algos/i2c-algo-bit.c')
0 files changed, 0 insertions, 0 deletions
