On Wed, 17 Mar 2004, Stefaan Simoens wrote: > > I ask becasue there are different languagecodes (those the specify language and > > country): > > > > 0x0413 Dutch (Netherlands) > > 0x0813 Dutch (Belgium) > > 0x040c French (Standard) > > 0x080c French (Belgian) > > I don't think you should take the language as a determinant for > keyboard-layout. Dutch (Netherlands) and Dutch (Belgium) is used for a > slight difference in date-notation (and, before the euro, a difference > in currency). > The same goes for French (Standard) and French (Belgian) I think.
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. > A "Belgian" keyboard has AZERTY keys. But, a friend of mine has his > Windows2000 set up with language "Dutch (Belgium)" but he has a "US > keyboard". > > I think XWin is already checking the right Windows setting: > > (--) winConfigKeyboard - Layout: "00000813" (00000813) > (EE) Keyboardlayout "Belgisch (punt)" (00000813) is unknown > > So, I think you should use 0x0813 for a Belgian keyboard-layout. (There > are two Belgian keyboard layouts: "Belgisch (punt)" and "Belgisch > (komma)" because some keyboards have a comma on the numeric keypad -- I > do think the "Belgisch (komma)" isn't used that much). Ok. Thank you bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723