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