keyboard mapping with XFree86 4.3.0

Paulo Sousa psousa at wit-software.com
Sun Apr 20 22:47:51 CDT 2003


Hi,

I just installed RH9 with XFree 4.3.0 and my Portuguese Keyboard is 
detected as a "close match" of a Latin American one.

As I saw that, I tried to figure out if there was no support for 
Portuguese keyboards, but there was. The layout is this one:

/*** Portuguese keyboard layout */
static const char main_key_PT[MAIN_LEN][4] =
{
 "\\¦","1!","2\"@","3#£","4$§","5%","6&","7/{","8([","9)]","0=}","'?","«»",
 "qQ",  "wW","eE",  "rR", "tT", "yY", "uU", "iI", "oO", "pP", 
"+*\\¨","\\'\\`",
 "aA",  "sS","dD",  "fF", "gG", "hH", "jJ", "kK", "lL", "çÇ", "ºª", 
"\\~\\^",
 "zZ",  "xX","cC",  "vV", "bB", "nN", "mM", ",;", ".:", "-_",
 "<>"
};

This is prety much correct (except for the missing Euro sign in some new 
keyboards). I then checked out what where the undetected keys and 
noticed that they were the ones with 3 caracters (eg: 3#£). By removing 
the third character I got this layout:

/*** Portuguese keyboard layout */
static const char main_key_PT[MAIN_LEN][4] =
{
 "\\|","1!","2\"","3#","4$","5%","6&","7/","8(","9)","0=","'?","«»",
 "qQ",  "wW","eE",  "rR", "tT", "yY", "uU", "iI", "oO", "pP", "+*","´`",
 "aA",  "sS","dD",  "fF", "gG", "hH", "jJ", "kK", "lL", "çÇ", "ºª", "~^",
 "zZ",  "xX","cC",  "vV", "bB", "nN", "mM", ",;", ".:", "-_",
 "<>"
};


After compiling, this new layout is detected perfectly, although it does 
not reflect all the characters in my keyboard. Also, the "«'çº" keys do 
not work!

Does anybody know why isn't the third character being reported by XFree? 
Is this a XFree bug?

Thanks,
 Paulo Sousa




More information about the wine-devel mailing list