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 translati on ofscan codes


I do not get any TeX sequencenses in any keys for my danish Thinkpad
keyboard.

There allthough some specific things I observed :

No multi-press detected ie. all keypresses are detected as seperate events.
AltGr is recorded as CTRL key plus AltGR
Sometimes Shift and AltGr seems not to be caught by the program (difficult
to reproduce - it might be my keyboard allthough I do not think so...)

Here is some examples :

KeyboardLayoutTest - Checking if the scan code sent with
WM_KEYDOWN/WM_SYSKEYDOW
N 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: 00000406

Locale name: Danish

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

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

key name: ALT
vk: 18  msg_sc: 56      mvk_sc: 56

key name: HOJRE CTRL
vk: 17  msg_sc: 29      mvk_sc: 29

Whoa there!! These next scan codes are different

key name: HOJRE SKIFT
vk: 16  msg_sc: 54      mvk_sc: 42

Whoa there!! These next scan codes are different

key name: HOJRE SKIFT
vk: 16  msg_sc: 54      mvk_sc: 42

key name: PIL OP
vk: 38  msg_sc: 72      mvk_sc: 72

key name: HOJRE PIL
vk: 39  msg_sc: 77      mvk_sc: 77

key name: VENSTRE PIL
vk: 37  msg_sc: 75      mvk_sc: 75

key name: PIL NED
vk: 40  msg_sc: 80      mvk_sc: 80

key name: å
vk: 221 msg_sc: 26      mvk_sc: 26

key name: æ
vk: 192 msg_sc: 39      mvk_sc: 39

key name: o
vk: 222 msg_sc: 40      mvk_sc: 40

key name: '
vk: 191 msg_sc: 43      mvk_sc: 43

key name: TREMA
vk: 186 msg_sc: 27      mvk_sc: 27

key name: ACCENT AIGU
vk: 219 msg_sc: 13      mvk_sc: 13

Whoa there!! These next scan codes are different

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

Med venlig hilsen / Regards
Franz Wolfhagen


"Schaible, Jorg" <Joerg.Schaible@gft.com>@cygwin.com on 12-06-2002 12:05:04

Please respond to "Schaible, Jorg" <Joerg.Schaible@gft.com>

Sent by:    cygwin-xfree-owner@cygwin.com


To:    cygwin-xfree@cygwin.com
cc:
Subject:    RE: KeyboardTestLayout - See if we can get an automatic
       translati  on of         scan codes


>From: Harold Hunt [mailto:huntharo@msu.edu]
>Does anyone else find it interesting that a Win32 API function
>that returns
>the name of a key returns the TeX sequence for creating
>certain non-U.S.
>characters?

It seems some MS tech folk do not trust WinWord also writing their
documentations ... <gg>

:)





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