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 codes
- From: Volker Quetschke <quetschke at scytek dot de>
- To: cygwin-xfree at cygwin dot com
- Date: Tue, 11 Jun 2002 23:00:35 +0200
- Subject: Re: KeyboardTestLayout - See if we can get an automatic translation of scan codes
- References: <200206112042.g5BKgAW154216@pilot15.cl.msu.edu>
Hi Harold!
I need some non-U.S. keyboard testers to run this test program and send their
output to the list. You'll need to feed the test program's window some key
presses. Be sure to press some general keys such as 'a', 'enter', 'left
arrow', etc. as well as some non-standard keys like 'AltGr+1', etc.
Atached you find the log for some keys on a german keyboard.
Volker
KeyboardLayoutTest - Checking if the scan code sent with WM_KEYDOWN/WM_SYSKEYDOWN is the same as that returned by MapVirtualKeyEx when passed the handle to the current keyboard layout gotten by a call to GetKeyboardLayout.
KeyboardLayoutTest - Current keyboard layout name: 00000407
Locale name: German
key name: A
vk: 65 msg_sc: 30 mvk_sc: 30
key name: Eingabetaste
vk: 13 msg_sc: 28 mvk_sc: 28
key name: Nach-Links-Taste
vk: 37 msg_sc: 75 mvk_sc: 75
key name: Strg
vk: 17 msg_sc: 29 mvk_sc: 29
key name: Alt rechts
vk: 18 msg_sc: 56 mvk_sc: 56
key name: 1
vk: 49 msg_sc: 2 mvk_sc: 2
key name: Strg
vk: 17 msg_sc: 29 mvk_sc: 29
key name: Alt rechts
vk: 18 msg_sc: 56 mvk_sc: 56
key name: Q
vk: 81 msg_sc: 16 mvk_sc: 16
key name: ß (Tex: \"s)
vk: 219 msg_sc: 12 mvk_sc: 12
key name: Ö (Tex: \"O)
vk: 192 msg_sc: 39 mvk_sc: 39
key name: Ä (Tex: \"A)
vk: 222 msg_sc: 40 mvk_sc: 40
key name: Strg
vk: 17 msg_sc: 29 mvk_sc: 29
key name: Alt rechts
vk: 18 msg_sc: 56 mvk_sc: 56
key name: E
vk: 69 msg_sc: 18 mvk_sc: 18
key name: Eingabetaste
vk: 13 msg_sc: 28 mvk_sc: 28