Support to cp1251 input

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Changelog:
    Support to cp1251 locale.

diff -ur wc/dlls/x11drv/keyboard.c wn/dlls/x11drv/keyboard.c
--- wc/dlls/x11drv/keyboard.c	2003-04-24 08:58:34 +0500
+++ wn/dlls/x11drv/keyboard.c	2003-04-09 14:40:54 +0500
@@ -406,6 +406,16 @@
  "<>" /* the phantom key */
 };
 
+/*** Russian keyboard layout cp1251 (phantom key version) */
+static const char main_key_RU_cp1251_phantom[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ьЬ",",<бБ",".>юЮ","/?",
+ "<>" /* the phantom key */
+};
+
 /*** Russian keyboard layout KOI8-R */
 static const char main_key_RU_koi8r[MAIN_LEN][4] =
 {
@@ -702,6 +712,7 @@
  {"Belarusian keyboard layout", 1251, &main_key_BY, &main_key_scan_qwerty, &main_key_vkey_qwerty},
  {"Russian keyboard layout", 20866, &main_key_RU, &main_key_scan_qwerty, &main_key_vkey_qwerty},
  {"Russian keyboard layout (phantom key version)", 20866, &main_key_RU_phantom, &main_key_scan_qwerty, &main_key_vkey_qwerty},
+ {"Russian keyboard layout cp1251 (phantom key version)", 1251, &main_key_RU_cp1251_phantom, &main_key_scan_qwerty, &main_key_vkey_qwerty},
  {"Russian keyboard layout KOI8-R", 20866, &main_key_RU_koi8r, &main_key_scan_qwerty, &main_key_vkey_qwerty},
  {"Ukrainian keyboard layout KOI8-U", 20866, &main_key_UA, &main_key_scan_qwerty, &main_key_vkey_qwerty},
  {"Spanish keyboard layout", 28605, &main_key_ES, &main_key_scan_qwerty, &main_key_vkey_qwerty},





[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux