Thai keyboard patch

Supphachoke Suntiwichaya mrchoke at opentle.org
Tue Aug 5 19:27:19 CDT 2003


Thai Keyboard Layout Patche

MrChoke

-- 

Name : Supphachoke Suntiwichaya
Email : MrChoke at 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 :   7:25am  up 13:40,  1 user,  load average: 1.25, 1.30, 1.02

-------------- next part --------------
--- 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 at 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 */


More information about the wine-patches mailing list