linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kristoffer Ericson <kristoffer.ericson@gmail.com>
To: Dmitry Torokhov <dtor@insightbb.com>
Cc: Kristoffer Ericson <kristoffer.ericson@gmail.com>,
	dmitry.torokhov@gmail.com, linux-input@atrey.karlin.mff.cuni.cz
Subject: Re: Handling touchscreen buttons
Date: Tue, 25 Sep 2007 11:34:41 -0700	[thread overview]
Message-ID: <20070925113441.40035069.Kristoffer.ericson@gmail.com> (raw)
In-Reply-To: <200709250144.16495.dtor@insightbb.com>

On Tue, 25 Sep 2007 01:44:16 -0400
Dmitry Torokhov <dtor@insightbb.com> wrote:

> On Monday 24 September 2007, Kristoffer Ericson wrote:
> > Greetings,
> > 
> > On my jornada7xx I have 4 buttons on the rightside of the screen (going from Y-low -> Y-high). They are part of the touchscreen.
> > Since they aren't usually used in normal X window handling I was thinking that I should have the driver detect if the touch happend on one of those buttons.
> > The general idea is that I could somehow export detection into /sys so that ordinary applications could make use of them. Example would be that touching one button could be scripted to start an xterm or anything else.
> > 
> > Im interested to know if anyone has any examples or suggestion how to best accomplish this?
> > 
> 
> 
> I'd just send KEY_PROG1 .. KEY_PROG4 events through the same input
> device you send the rest of touchscreen events.
> 
Great idea, big thanx.


> -- 
> Dmitry

      reply	other threads:[~2007-09-25 18:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-24  4:39 Handling touchscreen buttons Kristoffer Ericson
2007-09-25  5:44 ` Dmitry Torokhov
2007-09-25 18:34   ` Kristoffer Ericson [this message]

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=20070925113441.40035069.Kristoffer.ericson@gmail.com \
    --to=kristoffer.ericson@gmail.com \
    --cc=dmitry.torokhov@gmail.com \
    --cc=dtor@insightbb.com \
    --cc=linux-input@atrey.karlin.mff.cuni.cz \
    /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).