diff options
author | Mason Wang <masonwang@google.com> | 2022-04-07 14:39:10 +0800 |
---|---|---|
committer | Mason Wang <masonwang@google.com> | 2022-04-07 14:47:22 +0800 |
commit | e2c958f6388d3b519a03f84a36b25da454c8580c (patch) | |
tree | d28d9c0a6b61b318574270bc876e82a1648ed734 /ft3658/focaltech_test | |
parent | 9bf2772a5eb1764069a4e9544613b23b45dcabad (diff) | |
download | focaltech_touch-e2c958f6388d3b519a03f84a36b25da454c8580c.tar.gz |
touch/focaltech: Map pressure from 2bits to 8bits.
The P10 touch pressure of touch firmware is two bits limit, so the
pressure needs to be mapped form 2 bits to 8 bits, i.e:
Map the value(0~3) to (0~255).
Bug: 227525323
Test: Verify pass reporting the value of pressure.
Signed-off-by: Mason Wang <masonwang@google.com>
Change-Id: Ibef2ca8fe7c4b1a52de0a399e4d2bcfdf1c70ba9
Diffstat (limited to 'ft3658/focaltech_test')
0 files changed, 0 insertions, 0 deletions