Dutch Keyboard Support Problem

grant grant_williamson at hotmail.com
Thu Dec 13 01:09:18 CST 2001


Anyone out there with some help on keyboard support.

I have put together a patch to add Dutch keyboard support to wine.
All works fine apart from the '@' key, which is located top left of the
keyboard.

showkey -s reports it as being 0x29 which should be correct as this is
the same as in the main_key_scan table.

On a colleagues of mine keyboard it is however displayed with 'ALT-GR + Q',
however not with mine.

Here is my patch.
<--------------------------------------------------------------------------->

--- windows/x11drv/keyboard.c-old       Tue Nov 20 19:49:38 2001
+++ windows/x11drv/keyboard.c   Wed Dec 12 08:53:45 2001
@@ -452,6 +452,16 @@
 "zZ","xX","cC","vV","bB","nN","mM","öÖ","çÇ",".:"
 };

+/*** Dutch keyboard layout (contributed by Traxtopel 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","jJj","kK","lL","+±","'`","<>",
+"zZ«","xX»","cC¢","vV","bB","nN","mMµ",",;",".:·","-=­",
+"[]"
+};
+
 /*** Layout table. Add your keyboard mappings to this list */
 static const struct {
     const char *comment;
@@ -463,6 +473,7 @@
  {"United States keyboard layout", 28591, &main_key_US, &main_key_scan_qwerty,
&main_key_vkey_qwerty},
  {"United States keyboard layout (phantom key version)", 28591,
&main_key_US_phantom, &main_key_scan_qwerty, &main_key_vkey_qwerty},
  {"British keyboard layout", 28591, &main_key_UK, &main_key_scan_qwerty,
&main_key_vkey_qwerty},
+ {"Dutch keyboard layout", 28591, &main_key_NL, &main_key_scan_qwerty, 
&main_key_vkey_qwerty},



More information about the wine-users mailing list