diff options
author | Johnny Chuang <johnny.chuang@emc.com.tw> | 2020-04-09 21:42:42 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2020-04-15 06:28:34 +0200 |
commit | f27ad8932725f8dd0cd1a46763de4a40377b1ae6 (patch) | |
tree | 2169db2c76cc6a1e50e1272350348ee09d027b30 /mm/util.c | |
parent | Merge branch 'next' into for-linus (diff) | |
download | linux-f27ad8932725f8dd0cd1a46763de4a40377b1ae6.tar.xz linux-f27ad8932725f8dd0cd1a46763de4a40377b1ae6.zip |
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 'mm/util.c')
0 files changed, 0 insertions, 0 deletions