Synthesizing keyboard events

Samuel Thibault samuel.thibault at
Tue Dec 12 05:05:23 PST 2006

Daniel Stone, le Tue 12 Dec 2006 14:13:32 +0200, a écrit :
> On Tue, Dec 12, 2006 at 10:29:03AM +0100, Samuel Thibault wrote:
> > Daniel Stone, le Tue 12 Dec 2006 01:26:40 +0200, a écrit :
> > > The way apps like Dasher do it, is to take a ring buffer of ten or so
> > > unused keycodes, and remap them at will.
> > 
> > Ah, good idead, but why a ring?
> > Aren't key press events and keyboard layout update serialized?
> Well, delivery happens in proper order, yes, but there's still a couple
> of corner cases where it can fall over.  You should be safe with five,
> though, even for fast typing.

Well, the problem comes with clusterssh (cssh), with which you can paste
a sequence of letters that get synthesized for a bunch of xterms.  Here
the typing should be as fast as possible.


More information about the xorg mailing list