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]
Other format: [Raw text]

Re: KeyboardTestLayout - See if we can get an automatic translation of scan codes


Hello Harold and All,

Here's the output from Japanese keyboard.
I hope it helps,

Thank you,
  Haro
=-----------------------------------------------------------------------
           _ _    Munehiro (haro) Matsuda
 -|- /_\  |_|_|   Kubota Graphics Technology Inc.
 /|\ |_|  |_|_|   2-8-8 Shinjuku, Shinjuku-ku Tokyo 160-0022, Japan
                  Tel: +81-3-3225-0931  Fax: +81-3-3225-0749
                  Email: haro@kubota.co.jp
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: e0200411

Locale name: Japanese

key name: A
vk: 65	msg_sc: 30	mvk_sc: 30

key name: 1
vk: 49	msg_sc: 2	mvk_sc: 2

key name: \
vk: 220	msg_sc: 125	mvk_sc: 125

key name: ^
vk: 222	msg_sc: 13	mvk_sc: 13

key name: -
vk: 189	msg_sc: 12	mvk_sc: 12

key name: Backspace
vk: 8	msg_sc: 14	mvk_sc: 14

key name: Enter
vk: 13	msg_sc: 28	mvk_sc: 28

key name: Esc
vk: 27	msg_sc: 1	mvk_sc: 1

key name: F1
vk: 112	msg_sc: 59	mvk_sc: 59

key name: Scroll Lock
vk: 145	msg_sc: 70	mvk_sc: 70

Whoa there!! These next scan codes are different

key name: Pause
vk: 19	msg_sc: 69	mvk_sc: 0

key name: Insert
vk: 45	msg_sc: 82	mvk_sc: 82

key name: Home
vk: 36	msg_sc: 71	mvk_sc: 71

key name: Page Up
vk: 33	msg_sc: 73	mvk_sc: 73

key name: Delete
vk: 46	msg_sc: 83	mvk_sc: 83

key name: End
vk: 35	msg_sc: 79	mvk_sc: 79

key name: Page Down
vk: 34	msg_sc: 81	mvk_sc: 81

key name: Left
vk: 37	msg_sc: 75	mvk_sc: 75

key name: Down
vk: 40	msg_sc: 80	mvk_sc: 80

key name: Right
vk: 39	msg_sc: 77	mvk_sc: 77

key name: Up
vk: 38	msg_sc: 72	mvk_sc: 72

key name: Backspace
vk: 8	msg_sc: 14	mvk_sc: 14

key name: Enter
vk: 13	msg_sc: 28	mvk_sc: 28

key name: Right Control
vk: 17	msg_sc: 29	mvk_sc: 29

key name: Application
vk: 93	msg_sc: 93	mvk_sc: 93

key name: Right Windows
vk: 92	msg_sc: 92	mvk_sc: 92

key name: Right Alt
vk: 18	msg_sc: 56	mvk_sc: 56

key name: Ctrl
vk: 17	msg_sc: 29	mvk_sc: 29

key name: Shift
vk: 16	msg_sc: 42	mvk_sc: 42

key name: Tab
vk: 9	msg_sc: 15	mvk_sc: 15

Whoa there!! These next scan codes are different

key name: 半角/全角
vk: 229	msg_sc: 41	mvk_sc: 0

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