fix for olpc
[xorg/xkeyboard-config] / symbols / th
1 // $XKeyboardConfig$
2
3 // based on a keyboard map from an 'xkb/symbols/th' file
4 //
5 // $XFree86: xc/programs/xkbcomp/symbols/th,v 1.3 2003/04/03 16:34:51 dawes Exp $
6
7 partial default alphanumeric_keys 
8 xkb_symbols "basic" {
9     name[Group1]= "Thailand";
10
11     // converted to THai keysysms - Pablo Saratxaga <pablo@mandrakesoft.com>
12
13     key <TLDE> { [ underscore,          percent         ]       };
14     key <AE01> { [ Thai_lakkhangyao,    plus            ]       };
15     key <AE02> { [ slash,               Thai_leknung    ]       };
16     key <AE03> { [ minus,               Thai_leksong    ]       };
17     key <AE04> { [ Thai_phosamphao,     Thai_leksam     ]       };
18     key <AE05> { [ Thai_thothung,       Thai_leksi      ]       };
19     key <AE06> { [ Thai_sarau,          Thai_sarauu     ]       };
20     key <AE07> { [ Thai_saraue,         Thai_baht       ]       };
21     key <AE08> { [ Thai_khokhwai,       Thai_lekha      ]       };
22     key <AE09> { [ Thai_totao,          Thai_lekhok     ]       };
23     key <AE10> { [ Thai_chochan,        Thai_lekchet    ]       };
24     key <AE11> { [ Thai_khokhai,        Thai_lekpaet    ]       };
25     key <AE12> { [ Thai_chochang,       Thai_lekkao     ]       };
26
27     key <AD01> { [ Thai_maiyamok,       Thai_leksun     ]       };
28     key <AD02> { [ Thai_saraaimaimalai, quotedbl        ]       };
29     key <AD03> { [ Thai_saraam,         Thai_dochada    ]       };
30     key <AD04> { [ Thai_phophan,        Thai_thonangmontho ]    };
31     key <AD05> { [ Thai_saraa,          Thai_thothong   ]       };
32     key <AD06> { [ Thai_maihanakat,     Thai_nikhahit   ]       };
33     key <AD07> { [ Thai_saraii,         Thai_maitri     ]       };
34     key <AD08> { [ Thai_rorua,          Thai_nonen      ]       };
35     key <AD09> { [ Thai_nonu,           Thai_paiyannoi  ]       };
36     key <AD10> { [ Thai_yoyak,          Thai_yoying     ]       };
37     key <AD11> { [ Thai_bobaimai,       Thai_thothan    ]       };
38     key <AD12> { [ Thai_loling,         comma           ]       };
39
40     key <AC01> { [ Thai_fofan,          Thai_ru         ]       };
41     key <AC02> { [ Thai_hohip,          Thai_khorakhang ]       };
42     key <AC03> { [ Thai_kokai,          Thai_topatak    ]       };
43     key <AC04> { [ Thai_dodek,          Thai_sarao      ]       };
44     key <AC05> { [ Thai_sarae,          Thai_chochoe    ]       };
45     key <AC06> { [ Thai_maitho,         Thai_maitaikhu  ]       };
46     key <AC07> { [ Thai_maiek,          Thai_maichattawa ]      };
47     key <AC08> { [ Thai_saraaa,         Thai_sorusi     ]       };
48     key <AC09> { [ Thai_sosua,          Thai_sosala     ]       };
49     key <AC10> { [ Thai_wowaen,         Thai_soso       ]       };
50     key <AC11> { [ Thai_ngongu,         period          ]       };
51
52     key <AB01> { [ Thai_phophung,       parenleft       ]       };
53     key <AB02> { [ Thai_popla,          parenright      ]       };
54     key <AB03> { [ Thai_saraae,         Thai_choching   ]       };
55     key <AB04> { [ Thai_oang,           Thai_honokhuk   ]       };
56     key <AB05> { [ Thai_sarai,          Thai_phinthu    ]       };
57     key <AB06> { [ Thai_sarauee,        Thai_thanthakhat ]      };
58     key <AB07> { [ Thai_thothahan,      question        ]       };
59     key <AB08> { [ Thai_moma,           Thai_thophuthao ]       };
60     key <AB09> { [ Thai_saraaimaimuan,  Thai_lochula    ]       };
61     key <AB10> { [ Thai_fofa,           Thai_lu         ]       };
62
63     key <BKSL> { [ Thai_khokhuat,       Thai_khokhon    ]       };
64 };
65
66 partial alphanumeric_keys 
67 xkb_symbols "pat" {
68     name[Group1]= "Thailand - Pattachote";
69     // The thai layout defines a second keyboard group and changes
70     // the behavior of a few modifier keys.
71     
72     // converted to THai keysysms - Pablo Saratxaga pablo@mandrakesoft.com
73     // Pattachote modification by Visanu Euarchukiati -- visanu@inet.co.th
74     key <TLDE> { [ underscore,          Thai_baht       ] };
75     key <AE01> { [ equal,               plus            ] };
76     key <AE02> { [ Thai_leksong,        quotedbl        ] };
77     key <AE03> { [ Thai_leksam,         slash           ] };
78     key <AE04> { [ Thai_leksi,          comma           ] };
79     key <AE05> { [ Thai_lekha,          question        ] };
80     key <AE06> { [ Thai_sarauu,         Thai_sarau      ] };
81     key <AE07> { [ Thai_lekchet,        underscore      ] };
82     key <AE08> { [ Thai_lekpaet,        period          ] };
83     key <AE09> { [ Thai_lekkao,         parenleft       ] };
84     key <AE10> { [ Thai_leksun,         parenright      ] };
85     key <AE11> { [ Thai_leknung,        minus           ] };
86     key <AE12> { [ Thai_lekhok,         percent         ] };
87
88     key <AD01> { [ Thai_maitaikhu,      Thai_maitri     ] };
89     key <AD02> { [ Thai_totao,          Thai_ru         ] };
90     key <AD03> { [ Thai_yoyak,          Thai_maiyamok   ] };
91     key <AD04> { [ Thai_oang,           Thai_yoying     ] };
92     key <AD05> { [ Thai_rorua,          Thai_sorusi     ] };
93     key <AD06> { [ Thai_maiek,          Thai_saraue     ] };
94     key <AD07> { [ Thai_dodek,          Thai_fofa       ] };
95     key <AD08> { [ Thai_moma,           Thai_soso       ] };
96     key <AD09> { [ Thai_wowaen,         Thai_thothung   ] };
97     key <AD10> { [ Thai_saraae,         Thai_thophuthao ] };
98     key <AD11> { [ Thai_saraaimaimuan,  Thai_paiyannoi  ] };
99     key <AD12> { [ Thai_chochoe,        Thai_lu         ] };
100
101     key <AC01> { [ Thai_maitho,         Thai_maichattawa] };
102     key <AC02> { [ Thai_thothahan,      Thai_thothong   ] };
103     key <AC03> { [ Thai_ngongu,         Thai_saraam     ] };
104     key <AC04> { [ Thai_kokai,          Thai_nonen      ] };
105     key <AC05> { [ Thai_maihanakat,     Thai_thanthakhat] };
106     key <AC06> { [ Thai_saraii,         Thai_sarauee    ] };
107     key <AC07> { [ Thai_saraaa,         Thai_phophung   ] };
108     key <AC08> { [ Thai_nonu,           Thai_chochang   ] };
109     key <AC09> { [ Thai_sarae,          Thai_sarao      ] };
110     key <AC10> { [ Thai_saraaimaimalai, Thai_khorakhang ] };
111     key <AC11> { [ Thai_khokhai,        Thai_thonangmontho ] };
112
113     key <AB01> { [ Thai_bobaimai,       Thai_dochada    ] };
114     key <AB02> { [ Thai_popla,          Thai_topatak    ] };
115     key <AB03> { [ Thai_loling,         Thai_thothan    ] };
116     key <AB04> { [ Thai_hohip,          Thai_phosamphao ] };
117     key <AB05> { [ Thai_sarai,          Thai_phinthu    ] };
118     key <AB06> { [ Thai_khokhwai,       Thai_sosala     ] };
119     key <AB07> { [ Thai_sosua,          Thai_honokhuk   ] };
120     key <AB08> { [ Thai_saraa,          Thai_fofan      ] };
121     key <AB09> { [ Thai_chochan,        Thai_choching   ] };
122     key <AB10> { [ Thai_phophan,        Thai_lochula    ] };
123
124     key <BKSL> { [ Thai_lakkhangyao,    Thai_nikhahit   ] };
125 };
126
127
128 partial alphanumeric_keys 
129 xkb_symbols "tis" {
130     name[Group1]= "Thailand - TIS-820.2538";
131     // The thai layout defines a second keyboard group and changes
132     // the behavior of a few modifier keys.  
133
134     // converted to THai keysysms - Pablo Saratxaga <pablo@mandrakesoft.com>
135     // modified to TIS-820.2538 - Theppitak Karoonboonyanan <thep@linux.thai.net>
136     key <TLDE> {        [ 0x1000e4f,            0x1000e5b       ]       };
137     key <AE01> {        [ Thai_baht,            Thai_lakkhangyao]       };
138     key <AE02> {        [ slash,                Thai_leknung    ]       };
139     key <AE03> {        [ minus,                Thai_leksong    ]       };
140     key <AE04> {        [ Thai_phosamphao,      Thai_leksam     ]       };
141     key <AE05> {        [ Thai_thothung,        Thai_leksi      ]       };
142     key <AE06> {        [ Thai_sarau,           Thai_sarauu     ]       };
143     key <AE07> {        [ Thai_saraue,          0x1000e4e       ]       };
144     key <AE08> {        [ Thai_khokhwai,        Thai_lekha      ]       };
145     key <AE09> {        [ Thai_totao,           Thai_lekhok     ]       };
146     key <AE10> {        [ Thai_chochan,         Thai_lekchet    ]       };
147     key <AE11> {        [ Thai_khokhai,         Thai_lekpaet    ]       };
148     key <AE12> {        [ Thai_chochang,        Thai_lekkao     ]       };
149
150     key <AD01> {        [ Thai_maiyamok,        Thai_leksun     ]       };
151     key <AD02> {        [ Thai_saraaimaimalai,  quotedbl        ]       };
152     key <AD03> {        [ Thai_saraam,          Thai_dochada    ]       };
153     key <AD04> {        [ Thai_phophan,         Thai_thonangmontho ]    };
154     key <AD05> {        [ Thai_saraa,           Thai_thothong   ]       };
155     key <AD06> {        [ Thai_maihanakat,      Thai_nikhahit   ]       };
156     key <AD07> {        [ Thai_saraii,          Thai_maitri     ]       };
157     key <AD08> {        [ Thai_rorua,           Thai_nonen      ]       };
158     key <AD09> {type[Group1]="THREE_LEVEL",
159                         [   Thai_nonu,  Thai_paiyannoi, 0x1000e5a]      };
160     key <AD10> {        [ Thai_yoyak,           Thai_yoying     ]       };
161     key <AD11> {        [ Thai_bobaimai,        Thai_thothan    ]       };
162     key <AD12> {        [ Thai_loling,          comma           ]       };
163
164     key <AC01> {        [ Thai_fofan,           Thai_ru         ]       };
165     key <AC02> {        [ Thai_hohip,           Thai_khorakhang ]       };
166     key <AC03> {        [ Thai_kokai,           Thai_topatak    ]       };
167     key <AC04> {        [ Thai_dodek,           Thai_sarao      ]       };
168     key <AC05> {        [ Thai_sarae,           Thai_chochoe    ]       };
169     key <AC06> {        [ Thai_maitho,          Thai_maitaikhu  ]       };
170     key <AC07> {        [ Thai_maiek,           Thai_maichattawa ]      };
171     key <AC08> {        [ Thai_saraaa,          Thai_sorusi     ]       };
172     key <AC09> {        [ Thai_sosua,           Thai_sosala     ]       };
173     key <AC10> {        [ Thai_wowaen,          Thai_soso       ]       };
174     key <AC11> {        [ Thai_ngongu,          period          ]       };
175
176     key <AB01> {        [ Thai_phophung,        parenleft       ]       };
177     key <AB02> {        [ Thai_popla,           parenright      ]       };
178     key <AB03> {        [ Thai_saraae,          Thai_choching   ]       };
179     key <AB04> {        [ Thai_oang,            Thai_honokhuk   ]       };
180     key <AB05> {        [ Thai_sarai,           Thai_phinthu    ]       };
181     key <AB06> {        [ Thai_sarauee,         Thai_thanthakhat ]      };
182     key <AB07> {        [ Thai_thothahan,       question        ]       };
183     key <AB08> {        [ Thai_moma,            Thai_thophuthao ]       };
184     key <AB09> {        [ Thai_saraaimaimuan,   Thai_lochula    ]       };
185     key <AB10> {        [ Thai_fofa,            Thai_lu         ]       };
186
187     key <BKSL> {        [ Thai_khokhon,         Thai_khokhuat   ]       };
188 };
189
190 partial alphanumeric_keys
191 xkb_symbols "olpc" {
192
193     name[Group1]= "Thailand";
194     // The OLPC thai layout
195     // walter@laptop.org
196
197     key <TLDE> { [ 0x1000E4F,  0x1000E5B ] };
198     key <AE01> { [ 0x1000E3F,  0x1000E45 ] };
199     key <AE02> { [     slash,  0x1000E51 ] };
200     key <AE03> { [     minus,  0x1000E52 ] };
201     key <AE04> { [ 0x1000E20,  0x1000E53 ] };
202     key <AE05> { [ 0x1000E16,  0x1000E54 ] };
203     key <AE06> { [ 0x1000E38,  0x1000E39 ] };
204     key <AE07> { [ 0x1000E36,  0x1000E4E ] };
205     key <AE08> { [ 0x1000E04,  0x1000E55 ] };
206     key <AE09> { [ 0x1000E15,  0x1000E56 ] };
207     key <AE10> { [ 0x1000E08,  0x1000E57 ] };
208     key <AE11> { [ 0x1000E02,  0x1000E58 ] };
209     key <AE12> { [ 0x1000E0A,  0x1000E59 ] };
210
211     key <AD01> { [ 0x1000E46,  0x1000E50 ] };
212     key <AD02> { [ 0x1000E44,   quotedbl ] };
213     key <AD03> { [ 0x1000E33,  0x1000E0E ] };
214     key <AD04> { [ 0x1000E1E,  0x1000E11 ] };
215     key <AD05> { [ 0x1000E30,  0x1000E18 ] };
216     key <AD06> { [ 0x1000E31,  0x1000E4D ] };
217     key <AD07> { [ 0x1000E35,  0x1000E4A ] };
218     key <AD08> { [ 0x1000E23,  0x1000E13 ] };
219     key <AD09> { [ 0x1000E19,  0x1000E2F ] };
220     key <AD10> { [ 0x1000E22,  0x1000E0D ] };
221     key <AD11> { [ 0x1000E1A,  0x1000E10 ] };
222     key <AD12> { [ 0x1000E25,      comma ] };
223
224     key <AC01> { [ 0x1000E1F,  0x1000E24 ] };
225     key <AC02> { [ 0x1000E2B,  0x1000E06 ] };
226     key <AC03> { [ 0x1000E01,  0x1000E0F ] };
227     key <AC04> { [ 0x1000E14,  0x1000E42 ] };
228     key <AC05> { [ 0x1000E40,  0x1000E0C ] };
229     key <AC06> { [ 0x1000E49,  0x1000E47 ] };
230     key <AC07> { [ 0x1000E48,  0x1000E4B ] };
231     key <AC08> { [ 0x1000E32,  0x1000E29 ] };
232     key <AC09> { [ 0x1000E2A,  0x1000E28 ] };
233     key <AC10> { [ 0x1000E27,  0x1000E0B ] };
234     key <AC11> { [ 0x1000E07,     period ] };
235     key <BKSL> { [ 0x1000E05,  0x1000E03 ] };
236
237     key <AB01> { [ 0x1000E1C,  parenleft ] };
238     key <AB02> { [ 0x1000E1B, parenright ] };
239     key <AB03> { [ 0x1000E41,  0x1000E09 ] };
240     key <AB04> { [ 0x1000E2D,  0x1000E2E ] };
241     key <AB05> { [ 0x1000E34,  0x1000E3A ] };
242     key <AB06> { [ 0x1000E37,  0x1000E4C ] };
243     key <AB07> { [ 0x1000E17,   question ] };
244     key <AB08> { [ 0x1000E21,  0x1000E12 ] };
245     key <AB09> { [ 0x1000E43,  0x1000E2C ] };
246     key <AB10> { [ 0x1000E1D,  0x1000E26 ] };
247
248     key <I219> { [ ISO_Next_Group, ISO_Prev_Group ] };
249 };