From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Alexander Stein <alexander.stein@informatik.tu-chemnitz.de>
Cc: linux-input@vger.kernel.org
Subject: Re: [PATCH] input: generic driver for slide switches
Date: Tue, 15 Mar 2011 23:36:18 -0700 [thread overview]
Message-ID: <20110316063617.GG14604@core.coreip.homeip.net> (raw)
In-Reply-To: <201103151413.50042.alexander.stein@informatik.tu-chemnitz.de>
On Tue, Mar 15, 2011 at 02:13:49PM +0100, Alexander Stein wrote:
> On Friday 25 February 2011, 14:29:18 Alexander Stein wrote:
> > 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 <alexander.stein@informatik.tu-chemnitz.de>
> > ---
> > 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
next prev parent reply other threads:[~2011-03-16 6:36 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-25 13:29 [PATCH] input: generic driver for slide switches Alexander Stein
2011-03-15 13:13 ` Alexander Stein
2011-03-16 6:36 ` Dmitry Torokhov [this message]
2011-04-02 8:31 ` Alexander Stein
2011-04-03 4:23 ` Dmitry Torokhov
2011-04-03 8:21 ` Alexander Stein
2011-04-05 18:36 ` Dmitry Torokhov
2011-04-07 17:45 ` Alexander Stein
2011-04-10 0:10 ` Dmitry Torokhov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110316063617.GG14604@core.coreip.homeip.net \
--to=dmitry.torokhov@gmail.com \
--cc=alexander.stein@informatik.tu-chemnitz.de \
--cc=linux-input@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).