This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Keyboard handling


On Thu, Apr 05, 2001 at 06:17:34PM -0400, Harold Hunt wrote:
> Corinna,
> 
> Thanks for the testing... but I just started reading the source for cygcheck
> and cygcheck opens a file for the console input and displays the characters
> read from that file.  Those characters aren't going to be the same as the
> window message that Windows sends for keyboard input.
> 
> I threw together a simple program, which is very ugly, that simply dumps the
> keyboard messages to a file called "keys.log" in the current directory.
> 
> Please run this program, enter the following keysequences, and send me your
> "keys.log" file.  Thanks.
> 1) Ctrl_L press, AltGr press, Ctrl_L release, AltGr release.

KD VK: 00000011 SC: 0000001d fExtended: 0 fAltDown: 0
KD VK: 00000012 SC: 00000038 fExtended: 1 fAltDown: 1
SU VK: 00000011 SC: 0000001d fExtended: 0 fAltDown: 1
SU VK: 00000011 SC: 0000001d fExtended: 0 fAltDown: 1
KU VK: 00000012 SC: 00000038 fExtended: 1 fAltDown: 0

> 2) AltGr press, AltGr release.

KD VK: 00000011 SC: 0000001d fExtended: 0 fAltDown: 0
KD VK: 00000012 SC: 00000038 fExtended: 1 fAltDown: 1
SU VK: 00000011 SC: 0000001d fExtended: 0 fAltDown: 1
KU VK: 00000012 SC: 00000038 fExtended: 1 fAltDown: 0

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]