This patch gives a keyboard layout with the Euro symbol. Wine used the existant french layout but displayed the following message: --- fixme:keyboard:X11DRV_KEYBOARD_DetectLayout Your keyboard layout was not found! Using closest match instead (French keyboard layout) for scancode mapping. Please define your layout in dlls/x11drv/keyboard.c and submit them to us for inclusion into future Wine releases. See the Wine User Guide, chapter "Keyboard" for more information. --- This patch avoid the previous error message. Jérôme
Index: dlls/x11drv/keyboard.c =================================================================== RCS file: /home/wine/wine/dlls/x11drv/keyboard.c,v retrieving revision 1.37 diff --unified -r1.37 keyboard.c --- dlls/x11drv/keyboard.c 14 Oct 2003 20:07:03 -0000 1.37 +++ dlls/x11drv/keyboard.c 28 Oct 2003 11:20:46 -0000 @@ -219,6 +219,16 @@ "<>" }; +/*** French keyboard layout with Euro symbol (contributed by Jérôme Bouat) */ +static const char main_key_FR_Euro[MAIN_LEN][4] = +{ + "²","&1","é2~","\"3#","'4{","(5[","-6|","è7`","_8\\","ç9^±","à0@",")°]","=+}", + "aA","zZ","eE€","rR","tT","yY","uU","iI","oO","pP","^š","$£€", + "qQ","sSß","dD","fF","gG","hH","jJ","kK","lL","mM","ù%","*µ", + "wW","xX","cC","vV","bB","nN",",?",";.",":/","!§", + "<>" +}; + /*** Icelandic keyboard layout (contributed by Ríkharður Egilsson) */ static const char main_key_IS[MAIN_LEN][4] = { @@ -699,6 +709,7 @@ {"Norwegian keyboard layout", &main_key_NO, &main_key_scan_qwerty, &main_key_vkey_qwerty}, {"Danish keyboard layout", &main_key_DA, &main_key_scan_qwerty, &main_key_vkey_qwerty}, {"French keyboard layout", &main_key_FR, &main_key_scan_qwerty, &main_key_vkey_azerty}, + {"French keyboard layout with Euro symbol", &main_key_FR_Euro, &main_key_scan_qwerty, &main_key_vkey_azerty}, {"Canadian French keyboard layout", &main_key_CF, &main_key_scan_qwerty, &main_key_vkey_qwerty}, {"Belgian keyboard layout", &main_key_BE, &main_key_scan_qwerty, &main_key_vkey_azerty}, {"Swiss French keyboard layout", &main_key_SF, &main_key_scan_qwerty, &main_key_vkey_qwerty},