From: Dmitry Torokhov <dtor@insightbb.com>
To: Kristoffer Ericson <kristoffer.ericson@gmail.com>
Cc: dmitry.torokhov@gmail.com, linux-input@atrey.karlin.mff.cuni.cz
Subject: Re: Handling touchscreen buttons
Date: Tue, 25 Sep 2007 01:44:16 -0400 [thread overview]
Message-ID: <200709250144.16495.dtor@insightbb.com> (raw)
In-Reply-To: <20070923213913.15c12c3b.Kristoffer.ericson@gmail.com>
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.
--
Dmitry
next prev parent reply other threads:[~2007-09-25 5:44 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 [this message]
2007-09-25 18:34 ` Kristoffer Ericson
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=200709250144.16495.dtor@insightbb.com \
--to=dtor@insightbb.com \
--cc=dmitry.torokhov@gmail.com \
--cc=kristoffer.ericson@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.