* Multikey autorepetition
@ 2010-07-25 18:27 Антон Ерофеевский
2010-07-26 8:59 ` Dmitry Torokhov
0 siblings, 1 reply; 3+ messages in thread
From: Антон Ерофеевский @ 2010-07-25 18:27 UTC (permalink / raw)
To: linux-input
sory for my english
Multikey autorepetition in linux and x-win
Has decided to write for this purpose - that most to understand - whether is it in linux a defect or and has been conceived
The basic question in that is that if to press 2 keys - why one repeats only?
Will tell I in a spreadsheet I press downwards and to the right - and in general that I expect that the cursor will run on a diagonal - but it прет only in one direction
Why? It is a defect or and should be?
I for myself have found in a kernel and in иксах places that for it answer - they strangely enough are almost identical that in a kernel that in иксах
And the theory is that - if not to concern ps/2 keyboards - that an essence here in what usb the keyboard sends in a computer of purely event of pressing and unpressing keys - and it is 8 byte package - 1 byte a condition of keys of modifiers - 2 byte a reserve - 3-8 bytes codes of the pressed keys
For this reason usb the keyboard theoretically to serve only 6 simultaneous pressing (without modifiers)
here - a car usb the key at all is not engaged in repetition - in system that in a kernel that in x-win - for autorepetition the usual timer answers - which joins by key pressing - and through the necessary intervals adds pressing
But it is made so - that autorepeat only one key
Here and at me the question is a defect or and should be?
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Multikey autorepetition
2010-07-25 18:27 Multikey autorepetition Антон Ерофеевский
@ 2010-07-26 8:59 ` Dmitry Torokhov
2010-07-28 6:10 ` Peter Hutterer
0 siblings, 1 reply; 3+ messages in thread
From: Dmitry Torokhov @ 2010-07-26 8:59 UTC (permalink / raw)
To: Антон Ерофеевский
Cc: linux-input
Hi Anton,
On Sun, Jul 25, 2010 at 10:27:28PM +0400, Антон Ерофеевский wrote:
> sory for my english
>
> Multikey autorepetition in linux and x-win
>
> Has decided to write for this purpose - that most to understand -
> whether is it in linux a defect or and has been conceived
>
> The basic question in that is that if to press 2 keys - why one
> repeats only?
The kernel supports single-key software repetition so unless the device
itself does autorepeat then only the last key will be automatically
repeated.
I believe most of the hardware that has autorepeat capabilities
does it for the last pressed key as well.
--
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Multikey autorepetition
2010-07-26 8:59 ` Dmitry Torokhov
@ 2010-07-28 6:10 ` Peter Hutterer
0 siblings, 0 replies; 3+ messages in thread
From: Peter Hutterer @ 2010-07-28 6:10 UTC (permalink / raw)
To: Dmitry Torokhov
Cc: Антон Ерофеевский,
linux-input
On Mon, Jul 26, 2010 at 01:59:06AM -0700, Dmitry Torokhov wrote:
> Hi Anton,
>
> On Sun, Jul 25, 2010 at 10:27:28PM +0400, Антон Ерофеевский wrote:
> > sory for my english
> >
> > Multikey autorepetition in linux and x-win
> >
> > Has decided to write for this purpose - that most to understand -
> > whether is it in linux a defect or and has been conceived
> >
> > The basic question in that is that if to press 2 keys - why one
> > repeats only?
>
> The kernel supports single-key software repetition so unless the device
> itself does autorepeat then only the last key will be automatically
> repeated.
>
> I believe most of the hardware that has autorepeat capabilities
> does it for the last pressed key as well.
same for the X server, we ignore hardware/kernel autorepeat completely these
days and only do software repeat. In doing so, we only repeat one key at at
time though.
Cheers,
Peter
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-07-28 6:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-25 18:27 Multikey autorepetition Антон Ерофеевский
2010-07-26 8:59 ` Dmitry Torokhov
2010-07-28 6:10 ` Peter Hutterer
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).