Linux Input Archive on
 help / color / Atom feed
* Re: config option to change key soft autorepeat behavior
       [not found] <>
@ 2020-01-10  1:02 ` Dmitry Torokhov
  0 siblings, 0 replies; only message in thread
From: Dmitry Torokhov @ 2020-01-10  1:02 UTC (permalink / raw)
  To: Will Tipton; +Cc: linux-input

Hi Will,

On Wed, Jan 08, 2020 at 01:08:54PM -0800, Will Tipton wrote:
> Hello,
> I'd like to add an option to the input subsystem to change the behavior of
> key repeat. Essentially, when two keyboard keys 'a' and 'b' are held down
> simultaneously, I'd like to get 'abababab...' rather than 'abbbbbbbb...'.
> Another example of a request for this feature is here
> <>
> .
> Re: implementation -- I think this is a relatively minor change in
> input.h/.c
> <>.
> When this kernel option is enabled, the timer and repeat_key
> <>
> members of input_dev are replaced by a container of (timer, key) tuples.
> There's one entry in this container for each currently-pressed key, and
> each entry is basically managed the same way the singular timer and
> repeat_key are managed currently.
> I'm curious whether:
> - a patch adding this feature is likely to be accepted.
> - the implementation strategy I mentioned is the best approach.

Given that most environments (X, Wayland) ignore kernel autorepeat and
implement it themselves (since autorepeat parameters are really more of
a user preferences rather than hardware/system properties), I do not
think we should leave the kernel as is.



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <>
2020-01-10  1:02 ` config option to change key soft autorepeat behavior Dmitry Torokhov

Linux Input Archive on

Archives are clonable:
	git clone --mirror linux-input/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-input linux-input/ \
	public-inbox-index linux-input

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone