Synthesizing keyboard events

Daniel Stone daniel at fooishbar.org
Tue Dec 12 04:13:32 PST 2006


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.

Cheers,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20061212/67ada5ec/attachment.pgp>


More information about the xorg mailing list