Re: Keys get stuck

David Newall
2008-03-12T10:50:16Z

Jiri Kosina wrote:
> Very probably this is due to broken way how X themselves implement
> auto-repeat, instead of using kernel-provided auto-repeat functionality.

It should be said that X implements auto-repeat out of necessity. While
the kernel can report key down and up events, its further interpretation
of those events is not appropriate. Many combinations of events are
possible, such as keyboard plus mouse, and this precludes the kernel
from providing a full interpretation. It would be wrong for it to even
try. X is the proper place to implement auto-repeat for X.