1 ;; si-wijesekera-preedit-alt.mim -- Sinhala input method with wijesekera method
3 ;; National Institute of Advanced Industrial Science and Technology (AIST)
4 ;; Registration Number H15PRO112
6 ;; This file is part of the m17n database; a sub-part of the m17n
9 ;; The m17n library is free software; you can redistribute it and/or
10 ;; modify it under the terms of the GNU Lesser General Public License
11 ;; as published by the Free Software Foundation; either version 2.1 of
12 ;; the License, or (at your option) any later version.
14 ;; The m17n library is distributed in the hope that it will be useful,
15 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
16 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 ;; Lesser General Public License for more details.
19 ;; You should have received a copy of the GNU Lesser General Public
20 ;; License along with the m17n library; if not, write to the Free
21 ;; Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
22 ;; Boston, MA 02110-1301, USA.
24 (input-method si wijesekera-preedit-alt)
26 (description "Sinhala input method based on SLS 1134 Rev. 2:2004.
27 <http://www.fonts.lk/doc/sin-kbd-layout4.pdf>
28 This input method uses preedit rather than surrounding text.
40 ((A-.) "ඟ") ((0x2E A-z) "ඟ") ; 0D9F
47 ((A-c) "ඦ") ((0x63 A-z) "ඦ") ; 0DA6
53 ((A-v) "ඬ") ((0x76 A-z) "ඬ") ; 0DAC
59 ((A-o) "ඳ") ((0x6F A-z) "ඳ") ; 0DB3
77 ("<q" "ළු") ; muurdhaja lu (0DC5 0DD4)
78 ("<qE" "ළූ") ; 0DC5 0DD6
96 ((A-, 0x41) "ඐ") ; 0D90
122 ("J" "ළු") ; muurdhaja lu (0DC5 0DD4)
123 ("JE" "ළූ") ; 0DC5 0DD6
125 ((S-\ ) " ") ; NBSP (00A0)
126 ((A-\ ) "") ; ZWNJ (200C)
128 ("H" "්ය") ; yansaya (0DCA 200D 0DBA)
129 ("`" "්ර") ; rakaransaya (0DCA 200D 0DBB)
130 ("~" "ර්") ; repaya (0DBB 0DCA 200D)
178 (consonant (shift consonant))
180 (is-pilla (shift is-pilla))
181 (kombuva (shift kombuva)))
184 (rakaransaya 0x0DCA 0x200D 0x0DBB)
185 (yansaya 0x0DCA 0x200D 0x0DBA)
186 (repaya (move @-) 0x0DBB 0x0DCA 0x200D (move @+))
187 (is-pilla (shift is-pilla))
188 (join 0x0DCA 0x200D (shift consonant+join)))
191 (consonant (shift consonant))
195 (rakaransaya (move @-) 0x0DCA 0x200D 0x0DBB (shift init)))
198 (eyanna (delete @<) 0x0D93 (shift init))
199 (al-lakuna (delete @<) 0x0DDA (shift init))
200 (kombuva (delete @<) 0x0DDB (shift combu_deka))
201 (aela-pilla (delete @<) 0x0DDC (shift kombuva_haa_aela-pilla))
202 (gayanukitta (delete @<) 0x0DDE (shift init))
203 (consonant (move @1) (delete @0) (move @>) 0x0DD9 (shift consonant+kombuva))
207 (consonant (move @1) (delete @0) (move @>) 0x0DDB (shift init))
210 (kombuva_haa_aela-pilla
211 (al-lakuna (delete @<) 0x0DDD (shift init))
215 (al-lakuna (delete @-) 0x0DDA (shift init))
216 (aela-pilla (delete @-) 0x0DDC (shift consonant+kombuva_haa_aela-pilla))
217 (gayanukitta (delete @-) 0x0DDE (shift init))
218 (yansaka (move @-) 0x0DCA 0x200D 0x0DBA (move @>))
219 (rakaransaya (move @-) 0x0DCA 0x200D 0x0DBB (move @>))
220 (join (shift consonant+join+kombuva))
221 (touch (move @-) 0x200D 0x0DCA (move @>))
224 (consonant+kombuva_haa_aela-pilla
225 (al-lakuna (delete @-) 0x0DDD (shift init))
228 (consonant+join+kombuva
229 (consonant (move @-) (delete @-) 0x0DCA 0x200D (move @+) 0x0DD9
230 (shift consonant+kombuva))