linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Oliver Neukum <oliver@neukum.org>
Cc: Bastien Nocera <hadess@hadess.net>,
	linux-input <linux-input@vger.kernel.org>,
	Jiri Kosina <jkosina@suse.cz>,
	linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [RESEND] [PATCH] Input: add appleir USB driver
Date: Tue, 5 Oct 2010 09:18:26 -0700	[thread overview]
Message-ID: <20101005161826.GE19730@core.coreip.homeip.net> (raw)
In-Reply-To: <201010051807.36551.oliver@neukum.org>

On Tue, Oct 05, 2010 at 06:07:36PM +0200, Oliver Neukum wrote:
> Am Dienstag, 5. Oktober 2010, 17:55:52 schrieb Dmitry Torokhov:
> > > Yes, but based on sane timing. From the time stamps user space
> > > would conclude that the key had been pressed at an unknown time
> > > before open and released at the time the event indicates. Possibly
> > > it would compute that the key had been held for at least hours.
> > > 
> > 
> > I do not understand. If a client never seen the "press" event and only
> > saw "release" event it can't make any assumptions about timing. Press
> > could be a millisecond ago or an hour ago, it just does not know. And
> > such scenario can easily happen if the client is second to open the
> > device.
> 
> As soon as you open a device you see key presses. If you see a release
> without a press, the press must have happened before you opened.
> So if you know when you opened and when a key is released, you'll
> have a lower limit on how long the key must have been held down.
> 

Yes. I still do not see the usefulness of this data.

-- 
Dmitry

      reply	other threads:[~2010-10-05 16:18 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-30 10:57 [RESEND] [PATCH] Input: add appleir USB driver Bastien Nocera
2010-09-30 15:47 ` Dmitry Torokhov
2010-09-30 15:51   ` Bastien Nocera
2010-10-08  0:39     ` Jarod Wilson
2010-11-18  4:18       ` Bastien Nocera
2010-11-19 18:07         ` Jarod Wilson
2010-10-04 19:17 ` Oliver Neukum
2010-10-05  4:45   ` Dmitry Torokhov
2010-10-05  6:02     ` Oliver Neukum
2010-10-05  6:08       ` Dmitry Torokhov
2010-10-05  6:18         ` Oliver Neukum
2010-10-05 15:55           ` Dmitry Torokhov
2010-10-05 16:07             ` Oliver Neukum
2010-10-05 16:18               ` Dmitry Torokhov [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=20101005161826.GE19730@core.coreip.homeip.net \
    --to=dmitry.torokhov@gmail.com \
    --cc=hadess@hadess.net \
    --cc=jkosina@suse.cz \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oliver@neukum.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).