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: be / international keyboard with xserv 4.3.0-57


> These language identifiers + some minor bit make up the keyboard layout id 
> I get from windows. So the language code is the only way I can handle 
> the layouts.

Comparing some Register keys from my computer (Languge: Dutch (Belgian)
/Keyboard: Belgian (point)) and my friend (Language: Dutch (Belgian)
/Keyboard: US (international)) I found the following:

HKCU\Keyboard Layout\Preload
1 (REG_SZ) = 000813
(This is the Dutch (Belgian) part I guess?)

My friend (with the US keyboard on his computer) has an additionally
key:
HKCU\Keyboard Layout\Substitutes
00813 (REG_SZ) = 20409

My guess is you'd have to take the first key, and let the keyboard
override with the second key (if there is a substitution)

FYI: I found a 'mapping' between the Windows 'numeric' codes and the old
'DOS' codes in HKLM\System\CurrentControlSet\Control\Keyboard
Layout\DosKeybCodes
I think there you'll find all the possible entries, with an immediate
mapping to a keyboard layout.
eg:
80C (REG_SZ) = be
813 (REG_SZ) = be
20409 (REG_SZ) = us
(which are the same for X as far as I can tell)

I hope I helped you...

Attachment: smime.p7s
Description: S/MIME Cryptografische ondertekening


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