OSDN Git Service

input: add keycombo, a general key combo driver.
authorDaniel Rosenberg <drosen@google.com>
Wed, 7 May 2014 23:52:10 +0000 (16:52 -0700)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Sat, 13 Dec 2014 15:14:17 +0000 (23:14 +0800)
commit613ba3a5db1a2e38eaf7c61d1f7a2a02d60b42c2
treed3c174bf3c97236bd17e80e618e031704a5fc5e8
parent1efdef1ecb90b08dcc973283a738500714043b09
input: 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]