Dutch Keyboard Support

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

 



Updated patch, after feedback. Patched against 20031118

-- 
Grant Williamson <traxtopel@xxxxxxxxxxx>
--- dlls/x11drv/keyboard.c.orig	2003-11-14 04:32:43.000000000 +0100
+++ dlls/x11drv/keyboard.c	2003-11-19 08:16:48.000000000 +0100
@@ -725,7 +725,7 @@
  "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·?",",<Á²",".>ãÌ","/?½Æ"
-}; 
+};
 
 /*** VNC keyboard layout */
 static const WORD main_key_scan_vnc[MAIN_LEN] =
@@ -735,6 +735,16 @@
    0x56
 };
 
+/*** Dutch keyboard layout (setxkbmap nl) ***/
+static const char main_key_NL[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",",;",".:","-=",
+ "[]"
+};
+
 static const WORD main_key_vkey_vnc[MAIN_LEN] =
 {
    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,VK_OEM_4,VK_OEM_6,VK_OEM_1,VK_OEM_7,VK_OEM_3,VK_OEM_COMMA,VK_OEM_PERIOD,VK_OEM_2,VK_OEM_5,
@@ -748,6 +758,16 @@
  "aA","bB","cC","dD","eE","fF","gG","hH","iI","jJ","kK","lL","mM","nN","oO","pP","qQ","rR","sS","tT","uU","vV","wW","xX","yY","zZ"
 };
 
+/*** Dutch keyboard layout (contributed by traxtopel) ***/
+static const char main_key_NL[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",",;",".:","-=",
+ "[]"
+};
+
 /*** Layout table. Add your keyboard mappings to this list */
 static const struct {
     LCID lcid; /* input locale identifier, look for LOCALE_ILANGUAGE
@@ -812,6 +832,7 @@
  {0x0409, "VNC keyboard layout", &main_key_vnc, &main_key_scan_vnc, &main_key_vkey_vnc},
  {0x0408, "Greek keyboard layout", &main_key_EL, &main_key_scan_qwerty, &main_key_vkey_qwerty},
  {0x041e, "Thai (Kedmanee)  keyboard layout", &main_key_th, &main_key_scan_qwerty, &main_key_vkey_qwerty},
+ {0x0413, "Dutch keyboard layout", &main_key_NL, &main_key_scan_qwerty, &main_key_vkey_qwerty},
 
  {0, NULL, NULL, NULL, NULL} /* sentinel */
 };

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

  Powered by Linux