input: keychord: Add keychord driver
authorMike Lockwood <lockwood@android.com>
Mon, 15 Dec 2008 19:51:56 +0000 (14:51 -0500)
committerArve Hjønnevåg <arve@android.com>
Mon, 8 Feb 2010 23:07:49 +0000 (15:07 -0800)
commit6cd91b7b3e7687595544380f8372318b5c17c07d
tree5c4b39b82341eb7f2ef76388ae62fa0f26b6bc25
parentd94329d008a12abab1943304efd6f10f4fdc1f0f
input: keychord: Add keychord driver

This driver allows userspace to receive notification when client
specified key combinations are pressed.
The client opens /dev/keychord and writes a list of keychords
for the driver to monitor.
The client then reads or polls /dev/keychord for notifications.
A client specified ID for the keychord is returned from read()
when a keychord press is detected.

Signed-off-by: Mike Lockwood <lockwood@android.com>
keychord: fix to build without CONFIG_PREEMPT

Change-Id: I911f13aeda4224b6fa57863bc7e8972fec8837fb
drivers/input/misc/Kconfig
drivers/input/misc/Makefile
drivers/input/misc/keychord.c [new file with mode: 0644]
include/linux/keychord.h [new file with mode: 0644]