This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: KeyboardTestLayout - See if we can get an automatic translation of scan code
- From: "Francis VIVAT" <francis dot vivat at cetp dot ipsl dot fr>
- To: <cygwin-xfree at cygwin dot com>
- Date: Wed, 12 Jun 2002 12:28:31 +0200
- Subject: Re: KeyboardTestLayout - See if we can get an automatic translation of scan code
- References: <3D06EAC7.2554EFFE@mimosa.ceng.cea.fr>
Same test on my French keyboard, same result : just on key is different, the
right shift.
Thanks for your non-US consideration, Harold :-)
CU
. \)|(/
. (o o)
. /-----------------ooO----(_)----Ooo-----------------\
.(_| Francis VIVAT |
. | CETP-CNRS |
. | 10-12, avenue de l'Europe 78140 Velizy |
. | Tel : +33 1 3925 4780 |
. | Fax : +33 1 3925 4922 |_
. | E-Mail : francis.vivat@cetp.ipsl.fr | )
. \---------------------------------------------------/
. (_) (_)
----- Original Message -----
From: "gilles civario" <civario@mimosa.ceng.cea.fr>
To: <cygwin-xfree@cygwin.com>
Sent: Wednesday, June 12, 2002 8:31 AM
Subject: Re: KeyboardTestLayout - See if we can get an automatic translation
of scan code
>
> Hello.
>
> Fere is the result of some key pressed on a french keyboard.
>
> Gilles Civario.
>
>
> $ KeyboardLayoutTest.exe
> KeyboardLayoutTest - Checking if the scan code sent with
WM_KEYDOWN/WM_SYSKEYDOWN is the same as tha
> t returned by MapVirtualKeyEx when passed the handle to the current
keyboard layout gotten by a call
> to GetKeyboardLayout.
>
> KeyboardLayoutTest - Current keyboard layout name: 0000040C
>
> Locale name: French
>
> key name: A
> vk: 65 msg_sc: 16 mvk_sc: 16
>
> key name: Z
> vk: 90 msg_sc: 17 mvk_sc: 17
>
> key name: E
> vk: 69 msg_sc: 18 mvk_sc: 18
>
> key name: VERR.MAJ
> vk: 20 msg_sc: 58 mvk_sc: 58
>
> key name: MAJ
> vk: 16 msg_sc: 42 mvk_sc: 42
>
> Whoa there!! These next scan codes are different
>
> key name: MAJ DROITE
> vk: 16 msg_sc: 54 mvk_sc: 42
>
> key name: CTRL DROITE
> vk: 17 msg_sc: 29 mvk_sc: 29
>
> key name: CTRL
> vk: 17 msg_sc: 29 mvk_sc: 29
>
> key name: ALT
> vk: 18 msg_sc: 56 mvk_sc: 56
>
> key name: ALT DROITE
> vk: 18 msg_sc: 56 mvk_sc: 56
>
> key name: &
> vk: 49 msg_sc: 2 mvk_sc: 2
>
> key name: é
> vk: 50 msg_sc: 3 mvk_sc: 3
>
> key name: "
> vk: 51 msg_sc: 4 mvk_sc: 4
>
> key name: '
> vk: 52 msg_sc: 5 mvk_sc: 5
>
> key name: RET.ARR
> vk: 8 msg_sc: 14 mvk_sc: 14
>
> key name: ENTREE
> vk: 13 msg_sc: 28 mvk_sc: 28
>
> key name: INS
> vk: 45 msg_sc: 82 mvk_sc: 82
>
> key name: SUPPR
> vk: 46 msg_sc: 83 mvk_sc: 83
>
> key name: ORIGINE
> vk: 36 msg_sc: 71 mvk_sc: 71
>
> key name: FIN
> vk: 35 msg_sc: 79 mvk_sc: 79
>
> key name: PG.PREC
> vk: 33 msg_sc: 73 mvk_sc: 73
>
> key name: PG.SUIV
> vk: 34 msg_sc: 81 mvk_sc: 81
>
> key name: ECHAP
> vk: 27 msg_sc: 1 mvk_sc: 1
>
> key name: ²
> vk: 222 msg_sc: 41 mvk_sc: 41
>
> key name: Ver.Num
> vk: 144 msg_sc: 69 mvk_sc: 69
>
> key name: 7 (PAVE NUM.)
> vk: 103 msg_sc: 71 mvk_sc: 71
>
> key name: . (PAVE NUM.)
> vk: 110 msg_sc: 83 mvk_sc: 83
>
> key name: ENTREE (PAVE NUM.)
> vk: 13 msg_sc: 28 mvk_sc: 28
>
> key name: + (PAVE NUM.)
> vk: 107 msg_sc: 78 mvk_sc: 78
>
> key name: - (PAVE NUM.)
> vk: 109 msg_sc: 74 mvk_sc: 74
>
> key name: * (PAVE NUM.)
> vk: 106 msg_sc: 55 mvk_sc: 55
>
> key name: / (PAVE NUM.)
> vk: 111 msg_sc: 53 mvk_sc: 53
>
> key name: DEFIL
> vk: 145 msg_sc: 70 mvk_sc: 70
>
> key name: ATTN
> vk: 3 msg_sc: 70 mvk_sc: 70
>
> key name: HAUT
> vk: 38 msg_sc: 72 mvk_sc: 72
>
> key name: BAS
> vk: 40 msg_sc: 80 mvk_sc: 80
>
> key name: GAUCHE
> vk: 37 msg_sc: 75 mvk_sc: 75
>
> key name: DROITE
> vk: 39 msg_sc: 77 mvk_sc: 77
>
> key name: WINDOWS GAUCHE
> vk: 91 msg_sc: 91 mvk_sc: 91
>
> key name: WINDOWS DROITE
> vk: 92 msg_sc: 92 mvk_sc: 92
>
> key name: APPLICATION
> vk: 93 msg_sc: 93 mvk_sc: 93
>
> key name: F1
> vk: 112 msg_sc: 59 mvk_sc: 59
>
> key name: F12
> vk: 123 msg_sc: 88 mvk_sc: 88
>