OSDN Git Service

fpc1268: respect capacitive keys state
authordianlujitao <dianlujitao@lineageos.org>
Fri, 2 Feb 2018 10:59:59 +0000 (18:59 +0800)
committerArian <arian.kulmer@web.de>
Tue, 19 Nov 2019 15:24:30 +0000 (16:24 +0100)
commit158cd445d43bfda9e16f8da7071bada58dbb059b
tree450ec95e548dfbd11d685e40121eb95165db2407
parent82712124ab73e5c9b2015d7d82c151a807bb1100
fpc1268: respect capacitive keys state

 * Implement a key handler with the simple purpose of filtering
   the key events sent by the fingerprint HAL.
 * Only report key event when capacitive keys enabled.
 * Input handler taken from bgcngm's implementation for Xiaomi msm8996.

Change-Id: I091eb514fee291b7625193496c217c0b966fa518
drivers/input/fingerprint/fpc1268_tee/fpc1020_tee.c