linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Petri Gynther <pgynther@google.com>
Cc: linux-input@vger.kernel.org
Subject: Re: [PATCH] Input: Add REP_MAX_COUNT to autorepeat parameters
Date: Mon, 21 Apr 2014 13:17:10 -0700	[thread overview]
Message-ID: <20140421201710.GA30454@core.coreip.homeip.net> (raw)
In-Reply-To: <20140421200008.CBC0F1007B4@puck.mtv.corp.google.com>

Hi Petri,

On Mon, Apr 21, 2014 at 01:00:08PM -0700, Petri Gynther wrote:
> Add REP_MAX_COUNT to autorepeat parameters. This enables an input device to be
> configured for maximum autorepeat count, so that a keypress is not repeated
> forever. This is important for Bluetooth keyboards and remote controls that may
> lose the Bluetooth link at any time, e.g. right after sending a key-down event
> but before sending the corresponding key-up event.

I think this should be solved in the drivers - if link is lost then they
should tear down the device (or generate keyup events if they want to
hand onto the device).

Thanks.

-- 
Dmitry

  reply	other threads:[~2014-04-21 20:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-21 20:00 [PATCH] Input: Add REP_MAX_COUNT to autorepeat parameters Petri Gynther
2014-04-21 20:17 ` Dmitry Torokhov [this message]
2014-04-21 22:06   ` Petri Gynther
2014-04-22  4:59     ` 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=20140421201710.GA30454@core.coreip.homeip.net \
    --to=dmitry.torokhov@gmail.com \
    --cc=linux-input@vger.kernel.org \
    --cc=pgynther@google.com \
    /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).