Date : Mon, 22 Aug 1994 15:45:39 +0100
From : jfid@... (James Fidell)
Subject: CAPS LOCK key
I've been looking at why it's necessary to press the CAPS LOCK key twice
to get it to work properly in xbeeb.
Turns out that X treats the key as a toggle, rather than a button, so
the first press and release generates a KeyPress event then the next
press and release generates a KeyRelease event.
It seems that the Beeb still wants the key to be treated as a normal
button, where a press generates a KeyPress event and a release generates
a KeyRelease event.
I'm not yet sure how to fake this behaviour reliably. I imagine that
I won't be the only person to come across this problem...
James.
--
"Yield to temptation -- |
it may not pass your way again" | jfid@...
|
- Lazarus Long | James Fidell