commit | e03e4e2a3f0b67017df789b39af4926f84a40c3c | [log] [tgz] |
---|---|---|
author | Daniel Rosenberg <drosen@google.com> | Wed May 07 16:52:10 2014 -0700 |
committer | Dmitry Shmidt <dimitrysh@google.com> | Thu Jan 19 13:31:45 2017 -0800 |
tree | 5ffd6ef3e3ad880ed3fd3296a9497a906ecc580b | |
parent | f4d1cf1208fee98695ec39b46ff54c7274282dc5 [diff] |
ANDROID: 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>