Thread (9 messages) 9 messages, 2 authors, 2011-04-10

Re: [PATCH] input: generic driver for slide switches

From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2011-03-16 06:36:23

On Tue, Mar 15, 2011 at 02:13:49PM +0100, Alexander Stein wrote:
On Friday 25 February 2011, 14:29:18 Alexander Stein wrote:
quoted
This patch adds a generic driver for slide switches connected to GPIO
pins of a system. It requires gpiolib and generic hardware irqs.

Signed-off-by: Alexander Stein <redacted>
---
 drivers/input/misc/Kconfig         |    9 ++
 drivers/input/misc/Makefile        |    1 +
 drivers/input/misc/slide_switch.c  |  268
++++++++++++++++++++++++++++++++++++ include/linux/input/slide_switch.h | 
 16 ++
 4 files changed, 294 insertions(+), 0 deletions(-)
 create mode 100644 drivers/input/misc/slide_switch.c
 create mode 100644 include/linux/input/slide_switch.h
Did this get overlooked accidentaly?
Hi Alexander,

Hm, can't it be merged with gpio_keys? Just add the 'value' to the
gpio_keys_button structure that would be valid for EV_ABS (or even
EV_REL) types. Debouncing should filter out jittery events...

Thanks.

-- 
Dmitry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help