This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
RE: [BUG] Shift key not released
- From: Harold L Hunt <huntharo at msu dot edu>
- To: cygwin-xfree <cygwin-xfree at cygwin dot com>
- Date: Fri, 07 Jun 2002 08:54:44 EDT
- Subject: RE: [BUG] Shift key not released
Stuart,
Actually, my fix for this was a little easier. All I did was enter a fixup
for the non-extended VK_SHIFT... I set the fixup to KEY_ShiftL.
That seemed to take care of the problem.
Harold
Stuart Adamson <stuart.adamson@evolution.net> said:
> It appears that windows isn't sending us a WM_KEYUP message for the release
> of
> the first shift key.
>
> Maybe what we need to do is to call GetKeyState() when we see a shift key
> release
> and fake a release of the other key if required (can use the key state table
> in my
> patch yesterday to see if we think the other shift key is still down).
>
> Stuart
>
> > -----Original Message-----
> > From: Jehan [mailto:jehan_something@hotmail.com]
> > Sent: 07 June 2002 01:12
> > To: cygwin-xfree
> > Subject: [BUG] Shift key not released
> >
> >
> > Hi again,
> >
> > I know that this bug has already been mentionned (April 18
> > from bkarnd)
> > but there hasn't been much followup so I would like to know
> > what is the
> > status on it:
> >
> > 1. press and hold both shift at the same.
> > 2. release one of them (lets call it shift1)
> > 3. release the other one.
> > 4. press a letter: notice that you get the capitalize version (or, if
> > capslock is on, the lowercase one).
> > 5. press and release shift1.
> > 6. press a letter: now you get the correct case.
> >
> > Jehan
> >
>