ANDROID: input: keycombo: add keycombo, a general key combo driver.
authorDaniel Rosenberg <drosen@google.com>
Wed, 7 May 2014 23:52:10 +0000 (16:52 -0700)
committerAmit Pundir <amit.pundir@linaro.org>
Mon, 18 Dec 2017 15:41:22 +0000 (21:11 +0530)
commitc0f873e9aced1c72bcbe23583bd19e4c753bec22
tree987a53b900964dfdd0147b617b8347bcb33b6636
parent08a0437bf8d9085dd063171b5b37aae89fa42470
ANDROID: input: keycombo: add keycombo, a general key combo driver.

Keycombo lets you provide a key up and key down function, and an
optional time delay for key down. The driver will call the key
down function after the specified key combo has been held for the
speicified time delay. After you release the combo, if the key down
has happened, it calls key up.

Change-Id: I6a9a94e96a8f58fadd908fd1dc7944b9102a089f
Signed-off-by: Daniel Rosenberg <drosen@google.com>
drivers/input/Kconfig
drivers/input/Makefile
drivers/input/keycombo.c [new file with mode: 0644]
include/linux/keycombo.h [new file with mode: 0644]