This is a patch for Thai keyboard map.
--
Name : Supphachoke Suntiwichaya
Email : MrChoke@opentle.org
URL :
http://www.opentle.org/~mrchoke/
Distribution : Linux TLE 5.0 (Andaman)
OS : Linux 2.4.22-pre6-ac1 #1 พฤ. ก.ค. 24 16:45:01 ICT 2003 i686 GNU/Linux
Uptime : 11:15am up 1 day, 2:40, 1 user, load average: 0.08, 0.18, 0.29
--- wine-20030709/dlls/x11drv/keyboard.c 2003-07-09 11:22:57.000000000 +0700
+++ wine-20030709/dlls/x11drv/keyboard.c-th 2003-08-05 09:29:24.000000000 +0700
@@ -646,6 +646,15 @@
"<>"
};
+/*** Thai (Kedmanee) keyboard layout by Supphachoke Suntiwichaya
mrchoke@opentle.org */
+static const char main_key_th[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·?",",<Á²",".>ãÌ","/?œÆ"
+};
+
/*** VNC keyboard layout */
static const WORD main_key_scan_vnc[MAIN_LEN] =
{
@@ -724,7 +733,7 @@
{"Israeli keyboard layout", &main_key_IL, &main_key_scan_qwerty, &main_key_vkey_qwerty},
{"VNC keyboard layout", &main_key_vnc, &main_key_scan_vnc, &main_key_vkey_vnc},
{"Greek keyboard layout", &main_key_EL, &main_key_scan_qwerty, &main_key_vkey_qwerty},
-
+ {"Thai (Kedmanee) keyboard layout", &main_key_th, &main_key_scan_qwerty, &main_key_vkey_qwerty},
{NULL, NULL, NULL, NULL} /* sentinel */
};
static unsigned kbd_layout=0; /* index into above table of layouts */