OSDN Git Service

input: keychord: Add keychord driver
authorMike Lockwood <lockwood@android.com>
Mon, 15 Dec 2008 19:51:56 +0000 (14:51 -0500)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Mon, 13 Apr 2015 16:42:54 +0000 (00:42 +0800)
commitfbe15fb96c93abc933d1d8ecb22814d0eac9f2f1
tree6b1c6f5d1508cd7512757064f1e4372a3be8c5f5
parent07d677f1c4fd423b99ef614b41912fccc9d9561f
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]