Re: Input issues - key down with no key up

From: Maciej W. Rozycki
Date: Thu Aug 21 2003 - 08:50:36 EST


On Thu, 21 Aug 2003, Andries Brouwer wrote:

> > X11 is another example of software that wants to know the state of keys
> > continuously. And that's not a piece of software to ignore easily.
>
> You are both inventing the situation that games, or X11, ask the kernel
> for a bitmap of pressed keys. But they don't. The mechanism doesn't
> even exist.

I don't know of any games, but X11 doesn't work that way. What I mean
X11 needs to know what keys are currently pressed and which are not. It
handles that itself by tracking key presses and releases for all keys, so
both kinds of events need to be reported properly. OTOH, the console
doesn't really care about key releases except from modifier keys.

I'm sorry if my statement was ambiguous.

--
+ Maciej W. Rozycki, Technical University of Gdansk, Poland +
+--------------------------------------------------------------+
+ e-mail: macro@xxxxxxxxxxxxx, PGP key available +

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/