touch: fts: support firmware grip size command
Bug: 182538797
Test: enable/disable twoshay and check with the following commands:
$ adb shell "echo 01 A4 06 C3 > /proc/fts/driver_test"
$ adb shell "echo 02 A7 00 00 00 1B 00 > /proc/fts/driver_test ; cat /proc/fts/driver_test"
The meaning of the last 4 hex:
Pure fw setting:
- 0003 left and right edge grip rejection and edge palm rejection: off.
After sent the grip switch and size commands:
- 0000 left and right edge grip rejection and edge palm rejection: off.
- FF03 left and right edge grip rejection and edge palm rejection: on.
Signed-off-by: Tai Kuo <[email protected]>
Change-Id: I81e5ae6440d2aa56f94a33e55377a04fd8e2a7d1
2 files changed