diff options
author | Johnny Chuang <johnny.chuang@emc.com.tw> | 2020-04-09 12:42:42 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2020-04-14 21:28:34 -0700 |
commit | f27ad8932725f8dd0cd1a46763de4a40377b1ae6 (patch) | |
tree | 2169db2c76cc6a1e50e1272350348ee09d027b30 /drivers/fsi | |
parent | cd510679f4b588b7726fc8b25e5a0afd6f889b14 (diff) |
Input: elants_i2c - support palm detection
Elan uses the least significant bit of byte 33 to signal the type of
contact (finger versus palm). The default value is 1 for all firmwares,
which is reported as MT_TOOL_FINGER. If firmware supports palm detection,
the bit will change to 0 and the driver will report such contact as
MT_TOOL_PALM.
Signed-off-by: Johnny Chuang <johnny.chuang@emc.com.tw>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Link: https://lore.kernel.org/r/1585551756-29066-1-git-send-email-johnny.chuang.emc@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/fsi')
0 files changed, 0 insertions, 0 deletions