Added Russian keyboard support.
This commit is contained in:
parent
5f5b576a45
commit
dbfdca8b4c
@ -159,6 +159,15 @@ static const char main_key_FI[MAIN_LEN][4] =
|
|||||||
"<>|"
|
"<>|"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/*** Russian keyboard layout (contributed by Pavel Roskin) */
|
||||||
|
static const char main_key_RU[MAIN_LEN][4] =
|
||||||
|
{
|
||||||
|
"`~","1!","2@","3#","4$","5%","6^","7&","8*","9(","0)","-_","=+",
|
||||||
|
"qQ赎","wW勉","eE挣","rR穗","tT佩","yY晤","uU晴","iI埯","oO蔟","pP邡","[{辱","]}<7D><>",
|
||||||
|
"aA奇","sS蠃","dD作","fF玲","gG叙","hH因","jJ巷","kK天","lL匿",";:嘱","'\"茳","\\|",
|
||||||
|
"zZ疡","xX撖","cC芋","vV晚","bB砷","nN贼","mM伉",",<骡",".>类","/?"
|
||||||
|
};
|
||||||
|
|
||||||
/*** Layout table. Add your keyboard mappings to this list */
|
/*** Layout table. Add your keyboard mappings to this list */
|
||||||
static struct {
|
static struct {
|
||||||
WORD lang, ansi_codepage, oem_codepage;
|
WORD lang, ansi_codepage, oem_codepage;
|
||||||
@ -174,6 +183,7 @@ static struct {
|
|||||||
{MAKELANGID(LANG_FRENCH,SUBLANG_FRENCH_CANADIAN),1252,863,&main_key_CF},
|
{MAKELANGID(LANG_FRENCH,SUBLANG_FRENCH_CANADIAN),1252,863,&main_key_CF},
|
||||||
{MAKELANGID(LANG_PORTUGUESE,SUBLANG_DEFAULT), 1252, 860, &main_key_PT},
|
{MAKELANGID(LANG_PORTUGUESE,SUBLANG_DEFAULT), 1252, 860, &main_key_PT},
|
||||||
{MAKELANGID(LANG_FINNISH,SUBLANG_DEFAULT), 1252, 850, &main_key_FI},
|
{MAKELANGID(LANG_FINNISH,SUBLANG_DEFAULT), 1252, 850, &main_key_FI},
|
||||||
|
{MAKELANGID(LANG_RUSSIAN,SUBLANG_DEFAULT), 1251, 866, &main_key_RU},
|
||||||
|
|
||||||
{0} /* sentinel */
|
{0} /* sentinel */
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user