Discussion:
Caps Lock detection (under X11...)
MacArthur, Ian (Selex ES, UK)
2013-04-09 12:06:11 UTC
Permalink
Oh, and I meant to say:

If I call XQueryKeymap() I can see the Caps Lock key being pressed and released (well, I see one bit in the mask that tracks whether I am holding the Caps Lock key down or not, which I infer "is" the Caps Lock key bit...)

But in the diagnostic output I see instances where the Caps Lock key has been seen to press and release, but the state reported for Caps Lock has not toggled.

Which seems very odd.

So, although the key has been pressed and released, it does not look as if the state has processed the up (or down) event.

I have no idea what is going on.


Selex ES Ltd
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL
A company registered in England & Wales. Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************
Loading...