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 [Corinna]


On Fri, Apr 20, 2001 at 01:32:50PM +0200, Corinna Vinschen wrote:
> 1) Ctrl_L down, Ctrl_L up
> 
> KD VK: 00000011 SC: 0000001d fExtended: 0 fAltDown: 0 fUp: 0 fMenuMode: 0
> KU VK: 00000011 SC: 0000001d fExtended: 0 fAltDown: 0 fUp: 1 fMenuMode: 0
> 
> 2) Alt_L down, Alt_L up
> 
> SD VK: 00000012 SC: 00000038 fExtended: 0 fAltDown: 1 fUp: 0 fMenuMode: 0
> SU VK: 00000012 SC: 00000038 fExtended: 0 fAltDown: 0 fUp: 1 fMenuMode: 0
> 
> 3) AltGr down, AltGr up
> 
> KD VK: 00000011 SC: 0000001d fExtended: 0 fAltDown: 0 fUp: 0 fMenuMode: 0
> KD VK: 00000012 SC: 00000038 fExtended: 1 fAltDown: 1 fUp: 0 fMenuMode: 0
> SU VK: 00000011 SC: 0000001d fExtended: 0 fAltDown: 1 fUp: 1 fMenuMode: 0
> KU VK: 00000012 SC: 00000038 fExtended: 1 fAltDown: 0 fUp: 1 fMenuMode: 0

BTW: If you wonder why Alt_R returns _exactly_ the same as if
Ctrl+Alt has been pressed: It _is_ the same. For example the
Ascii character '@', which is on the german keyboard on
AltGr+Q is also reachable by pressing Ctrl+Alt+Q. I don't know
if that helps but I'm under the impression that could eliminate
all special handling for AltGr if Ctrl+Alt works as expected.

Am I missing something?
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]