Weird keyboard behavior with "Caps Lock" key

Harold L Hunt II huntharo@msu.edu
Sun Oct 5 17:42:00 GMT 2003


Frédéric and Takuma,

Check out the Test104/4.3.0-17 release.  I disabled processing of the 
Win32 repeat count for VK_CAPITAL messages.  This may or may not help. 
In fact, I suspect that it won't help.  However, it will at least give 
me some incentive to fix it the right way when I find out that it isn't 
correct.  Please try it and report back.

Harold

Takuma Murakami wrote:

> On Sun, 5 Oct 2003 02:13:24 -0300 (E. South America Standard Time)
> Frédéric L. W. Meunier <0@pervalidus.tk> wrote:
> 
> 
>>Something strange happened minutes ago. I was typing and
>>suddenly all subsequent keys pressed showed as capitals, like
>>if something reversed the "Caps Lock" key. With it enabled all
>>showed as lower case.
>>
>>Then I tested in an open rxvt from where I started the session
>>and everything showed right. The problem was only on Xfree86,
>>and I had to restart it.
> 
> 
> It may be the mismatch between the Caps Lock state of
> XFree and that of Windows.  If it is the source of your
> problem, you could re-synch two Caps Lock states by
> pressing Caps Lock for a while (several tries should
> be needed until it get fixed).
> 
> The Caps Lock state of XFree86 is not strictly
> synchronized with the state of Windows.  The former
> dominates the behaviour of all X applications while the
> latter dominates Windows applications, non-X rxvt and
> the LED on keyboards.
> 
> As an experiment, when we press Caps Lock key for a
> while, Windows takes just one toggle.  However, XFree
> receives a number of WM_KEYDOWN messages (due to
> Windows' autorepeat?) and it toggles the state
> repeatedly.  Thus two states can be different.
> 
> Takuma Murakami (murakami@ipl.t.u-tokyo.ac.jp)
> 



More information about the Cygwin-xfree mailing list