This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
AW: AW: [ANNOUNCE] XWin Keyboard test 4
- To: <cygwin-xfree at cygwin dot com>
- Subject: AW: AW: [ANNOUNCE] XWin Keyboard test 4
- From: "Palic, Darko" <darko dot palic at gmx dot de>
- Date: Mon, 2 Apr 2001 18:30:19 +0200
- Disposition-Notification-To: "Palic, Darko" <darko.palic@gmx.de>
- Reply-To: <darko dot palic at gmx dot de>
Hello Alexander,
I?m using Win2k SP1.
Here my logs of xmodmap and -pke
How can I get the WM_*KEYDOWN messages?
and my log with the xev output:
Control_L
KeyPress event, serial 23, synthetic NO, window 0x1600001,
root 0x2e, subw 0x0, time 11696388, (-263,679), root:(332,698),
state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 characters: ""
Alt_L
KeyPress event, serial 23, synthetic NO, window 0x1600001,
root 0x2e, subw 0x0, time 5332147, (-199,417), root:(396,436),
state 0x0, keycode 64 (keysym 0xffe7, Meta_L), same_screen YES,
XLookupString gives 0 characters: ""
KeyRelease event, serial 23, synthetic NO, window 0x1600001,
root 0x2e, subw 0x0, time 5332297, (-199,417), root:(396,436),
state 0x8, keycode 64 (keysym 0xffe7, Meta_L), same_screen YES,
XLookupString gives 0 characters: ""
Alt_Gr
KeyPress event, serial 23, synthetic NO, window 0x1600001,
root 0x2e, subw 0x0, time 5412592, (-221,360), root:(374,379),
state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 characters: ""
KeyPress event, serial 23, synthetic NO, window 0x1600001,
root 0x2e, subw 0x0, time 5412592, (-221,360), root:(374,379),
state 0x4, keycode 113 (keysym 0xff7e, Mode_switch), same_screen YES,
XLookupString gives 0 characters: ""
KeyRelease event, serial 23, synthetic NO, window 0x1600001,
root 0x2e, subw 0x0, time 5412673, (-221,360), root:(374,379),
state 0x24, keycode 113 (keysym 0xff7e, Mode_switch), same_screen YES,
XLookupString gives 0 characters: ""
ctrl_r
KeyPress event, serial 23, synthetic NO, window 0x1600001,
root 0x2e, subw 0x0, time 5916207, (-223,591), root:(372,610),
state 0x0, keycode 109 (keysym 0xff20, Multi_key), same_screen YES,
XLookupString gives 0 characters: ""
KeyRelease event, serial 23, synthetic NO, window 0x1600001,
root 0x2e, subw 0x0, time 5916297, (-223,591), root:(372,610),
state 0x4, keycode 109 (keysym 0xff20, Multi_key), same_screen YES,
XLookupString gives 0 characters: ""
output after pressing alt_gr: (keys pressed: b, c, ctrl_r)
KeyPress event, serial 21, synthetic NO, window 0x1600001,
root 0x2e, subw 0x0, time 5453271, (-112,543), root:(483,562),
state 0x4, keycode 56 (keysym 0x62, b), same_screen YES,
XLookupString gives 1 characters: ""
KeyRelease event, serial 23, synthetic NO, window 0x1600001,
root 0x2e, subw 0x0, time 5453441, (-112,543), root:(483,562),
state 0x4, keycode 56 (keysym 0x62, b), same_screen YES,
XLookupString gives 1 characters: ""
KeyPress event, serial 23, synthetic NO, window 0x1600001,
root 0x2e, subw 0x0, time 5453531, (-112,543), root:(483,562),
state 0x4, keycode 54 (keysym 0x63, c), same_screen YES,
XLookupString gives 1 characters: ""
KeyRelease event, serial 23, synthetic NO, window 0x1600001,
root 0x2e, subw 0x0, time 5453671, (-112,543), root:(483,562),
state 0x4, keycode 54 (keysym 0x63, c), same_screen YES,
XLookupString gives 1 characters: ""
KeyPress event, serial 23, synthetic NO, window 0x1600001,
root 0x2e, subw 0x0, time 5454753, (-112,543), root:(483,562),
state 0x4, keycode 109 (keysym 0xff20, Multi_key), same_screen YES,
XLookupString gives 0 characters: ""
KeyRelease event, serial 23, synthetic NO, window 0x1600001,
root 0x2e, subw 0x0, time 5454813, (-112,543), root:(483,562),
state 0x4, keycode 109 (keysym 0xff20, Multi_key), same_screen YES,
XLookupString gives 0 characters: ""
> -----Ursprungliche Nachricht-----
> Von: cygwin-xfree-owner@sources.redhat.com
> [mailto:cygwin-xfree-owner@sources.redhat.com]Im Auftrag von Alexander
> Gottwald
> Gesendet: Montag, 2. April 2001 16:39
> An: Palic, Darko
> Cc: 'Alexander Gottwald'; 'XFree86/Cygwin Mailing list'
> Betreff: Re: AW: [ANNOUNCE] XWin Keyboard test 4
>
>
> On Mon, 2 Apr 2001, Palic, Darko wrote:
>
> > Hi Alexander,
> >
> > I tried your Test4 and it won?t use the keys with Alt-R. If
> I press Alt-R it
> > seems to have a "allways on" Alt-L. Sometimes I can disable
> it by pressing
> > again Alt-R.
> >
> > Have you any idea?
> >
> I think i've got it.
> When AltGr is pressed, 2 WM_KEYDOWN messages are sent to XWin.
> The first for Control_L, the second for Alt_R. Everytime the Control_L
> Message comes in, i test if Control_L is down. On Win9x/ME, the
> GetKeyState will not acceot the virtual keycodes for the left or right
> control (VK_LCONTROL, VK_RCONTROL) and returns alway 0.
> The difference between the left and right control key works
> only on NT/2k.
> Why can't MS create an API which behaves equal on NT and 9x?
>
> Control won't work on Win98, since the keypress is always discarded.
>
> Please send me the WM_*KEYDOWN Messages from test-3, since i
> can't test
> on WinNT.
>
> bye
> ago
> --
> Alexander.Gottwald@informatik.tu-chemnitz.de
> http://www.gotti.org
> +49 3725 3498080
>
xmodmap.log.zip