Put Brazilian ABNT2 keyboard layouts in line with appropriate virtual keyboard maps

Dmitry Timoshkov dmitry at baikal.ru
Mon Jan 24 09:05:50 CST 2005


Hello,

this patch fixes Brazilian ABNT2 keyboard layouts by making them
have "\\|" on the left of "zZ" as their appropriate scan codes
and virtual codes maps do. This makes Ctrl+C and Ctrl+V generate
VK_C and VK_V as they should instead of VK_X and VK_C.

Changelog:
    Dmitry Timoshkov <dmitry at codeweavers.com>
    Put Brazilian ABNT2 keyboard layouts in line with appropriate
    virtual keyboard maps.

--- cvs/hq/wine/dlls/x11drv/keyboard.c	2004-12-08 13:22:10.000000000 +0800
+++ wine/dlls/x11drv/keyboard.c	2005-01-24 22:50:49.000000000 +0800
@@ -584,8 +584,7 @@ static const char main_key_PT_br[MAIN_LE
  "'\"","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",",<",".>",";:","/?",
- "\\|"
+ "\\|","zZ","xX","cC","vV","bB","nN","mM",",<",".>",";:","/?",
 };
 
 /*** Brazilian ABNT-2 keyboard layout with <ALT GR> (contributed by Mauro Carvalho Chehab) */
@@ -594,8 +593,7 @@ static const char main_key_PT_br_alt_gr[
  "'\"","1!9","2 at 2","3#3","4$#","5%\"","6(,","7&","8*","9(","0)","-_","=+'",
  "qQ","wW","eE","rR","tT","yY","uU","iI","oO","pP","4`","[{*",
  "aA","sS","dD","fF","gG","hH","jJ","kK","lL","gG","~^","]}:",
- "zZ","xX","cC","vV","bB","nN","mM",",<",".>",";:","/?0",
- "\\|"
+ "\\|","zZ","xX","cC","vV","bB","nN","mM",",<",".>",";:","/?0"
 };
 
 /*** US international keyboard layout (contributed by Gustavo Noronha (kov at debian.org)) */






More information about the wine-patches mailing list