public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Pete Zaitcev <zaitcev@redhat.com>
To: Vojtech Pavlik <vojtech@suse.cz>
Cc: dtor_core@ameritech.net, linux-kernel@vger.kernel.org,
	stuart_hayes@dell.com, zaitcev@redhat.com
Subject: Re: Suppressing softrepeat
Date: Wed, 22 Feb 2006 13:16:13 -0800	[thread overview]
Message-ID: <20060222131613.2b6cc64c.zaitcev@redhat.com> (raw)
In-Reply-To: <20060222204024.GA7477@suse.cz>

On Wed, 22 Feb 2006 21:40:24 +0100, Vojtech Pavlik <vojtech@suse.cz> wrote:

> Setting autorepeat will not be possible on 'dumb' keyboards anymore by
> default, but since these usually are special forms of hardware anyway,
> like the DRAC3, this shouldn't be an issue for most users. Using
> 'softrepeat' on these keyboards will restore the behavior for users that
> need it.

> +++ b/drivers/input/keyboard/atkbd.c
> @@ -863,9 +863,6 @@ static int atkbd_connect(struct serio *s
>  	atkbd->softrepeat = atkbd_softrepeat;
>  	atkbd->scroll = atkbd_scroll;
>  
> -	if (!atkbd->write)
> -		atkbd->softrepeat = 1;
> -

This looks good to me, because it makes the operation of the code more
straightforward and easier to understand. With our docs always lagging,
it's important.

Like you said, it does "punish" people who had "dumb" keyboards, but if
they really are a special class of folks, maybe it's better that way.

And I think it's much easier to type a command to enable softrepeat
than to type a command to disable softrepeat when all your letters come
in twos and threes :-)

-- Pete

  parent reply	other threads:[~2006-02-22 21:16 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-21 20:43 Suppressing softrepeat Pete Zaitcev
2006-02-21 21:08 ` Vojtech Pavlik
2006-02-21 21:32   ` Dmitry Torokhov
2006-02-21 21:40     ` Vojtech Pavlik
2006-02-21 21:57       ` Dmitry Torokhov
2006-02-22 20:00   ` Pete Zaitcev
2006-02-22 20:40     ` Vojtech Pavlik
2006-02-22 21:09       ` Dmitry Torokhov
2006-02-22 22:09         ` Vojtech Pavlik
2006-02-22 22:13           ` Dmitry Torokhov
2006-02-22 21:16       ` Pete Zaitcev [this message]
2006-02-21 21:15 ` Dmitry Torokhov
2006-02-21 21:35   ` Vojtech Pavlik
  -- strict thread matches above, loose matches on Subject: below --
2006-02-22 20:46 Stuart_Hayes

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=20060222131613.2b6cc64c.zaitcev@redhat.com \
    --to=zaitcev@redhat.com \
    --cc=dtor_core@ameritech.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stuart_hayes@dell.com \
    --cc=vojtech@suse.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