VirtualBox

Ticket #2: betterdiff.txt

File betterdiff.txt, 1.8 KB (added by Aldo Nogueira, 18 years ago)

A better keyboard.c diff

Line 
1Index: keyboard.c
2===================================================================
3--- keyboard.c (revision 847)
4+++ keyboard.c (working copy)
5@@ -180,10 +180,10 @@
6 static const WORD main_key_vkey_abnt_qwerty[MAIN_LEN] =
7 {
8 /* NOTE: this layout must concur with the scan codes layout above */
9- VK_OEM_3,VK_1,VK_2,VK_3,VK_4,VK_5,VK_6,VK_7,VK_8,VK_9,VK_0,VK_OEM_MINUS,VK_OEM_PLUS,
10- VK_Q,VK_W,VK_E,VK_R,VK_T,VK_Y,VK_U,VK_I,VK_O,VK_P,VK_OEM_4,VK_OEM_6,
11- VK_A,VK_S,VK_D,VK_F,VK_G,VK_H,VK_J,VK_K,VK_L,VK_OEM_1,VK_OEM_8,VK_OEM_5,
12- VK_OEM_7,VK_Z,VK_X,VK_C,VK_V,VK_B,VK_N,VK_M,VK_OEM_COMMA,VK_OEM_PERIOD,VK_OEM_2,
13+ VK_OEM_3,'1','2','3','4','5','6','7','8','9','0',VK_OEM_MINUS,VK_OEM_PLUS,
14+ 'Q','W','E','R','T','Y','U','I','O','P',VK_OEM_4,VK_OEM_6,
15+ 'A','S','D','F','G','H','J','K','L',VK_OEM_1,VK_OEM_8,VK_OEM_5,
16+ VK_OEM_7,'Z','X','C','V','B','N','M',VK_OEM_COMMA,VK_OEM_PERIOD,VK_OEM_2,
17 VK_OEM_102, /* the 102nd key (actually to the right of l-shift) */
18 };
19
20@@ -604,8 +604,7 @@
21 "'\"","1!","2@","3#","4$","5%","6¨","7&","8*","9(","0)","-_","=+",
22 "qQ","wW","eE","rR","tT","yY","uU","iI","oO","pP","´`","[{",
23 "aA","sS","dD","fF","gG","hH","jJ","kK","lL","çÇ","~^","]}",
24- "zZ","xX","cC","vV","bB","nN","mM",",<",".>",";:","/?",
25- "\\|"
26+ "\\|","zZ","xX","cC","vV","bB","nN","mM",",<",".>",";:","/?",
27 };
28
29 /*** Brazilian ABNT-2 keyboard layout with <ALT GR> (contributed by Mauro Carvalho Chehab) */
30@@ -614,8 +613,7 @@
31 "'\"","1!9","2@2","3#3","4$#","5%\"","6(,","7&","8*","9(","0)","-_","=+'",
32 "qQ","wW","eE","rR","tT","yY","uU","iI","oO","pP","4`","[{*",
33 "aA","sS","dD","fF","gG","hH","jJ","kK","lL","gG","~^","]}:",
34- "zZ","xX","cC","vV","bB","nN","mM",",<",".>",";:","/?0",
35- "\\|"
36+ "\\|","zZ","xX","cC","vV","bB","nN","mM",",<",".>",";:","/?0"
37 };
38
39 /*** US international keyboard layout (contributed by Gustavo Noronha (kov@debian.org)) */

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy