2 ;; National Institute of Advanced Industrial Science and Technology (AIST)
3 ;; Registration Number H15PRO112
5 ;; This file is part of the m17n database; a sub-part of the m17n
8 ;; The m17n library is free software; you can redistribute it and/or
9 ;; modify it under the terms of the GNU Lesser General Public License
10 ;; as published by the Free Software Foundation; either version 2.1 of
11 ;; the License, or (at your option) any later version.
13 ;; The m17n library is distributed in the hope that it will be useful,
14 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
15 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 ;; Lesser General Public License for more details.
18 ;; You should have received a copy of the GNU Lesser General Public
19 ;; License along with the m17n library; if not, write to the Free
20 ;; Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
23 (input-method si wijesekera-preedit)
25 (description "Sinhala input method based on SLS 1134 Rev. 2:2004.
26 <http://www.fonts.lk/doc/sin-kbd-layout4.pdf>
27 This input method uses preedit rather than surrounding text.
39 ((A-.) "ඟ") ((0x2E A-z) "ඟ") ; 0D9F
46 ((A-c) "ඦ") ((0x63 A-z) "ඦ") ; 0DA6
52 ((A-v) "ඬ") ((0x76 A-z) "ඬ") ; 0DAC
58 ((A-o) "ඳ") ((0x6F A-z) "ඳ") ; 0DB3
76 ("<q" "ළු") ; muurdhaja lu (0DC5 0DD4)
77 ("<qE" "ළූ") ; 0DC5 0DD6
95 ((A-, 0x41) "ඐ") ; 0D90
121 ("J" "ළු") ; muurdhaja lu (0DC5 0DD4)
122 ("JE" "ළූ") ; 0DC5 0DD6
124 ((S-\ ) " ") ; NBSP (00A0)
125 ((A-\ ) "") ; ZWNJ (200C)
127 ("H" "්ය") ; yansaya (0DCA 200D 0DBA)
128 ("`" "්ර") ; rakaransaya (0DCA 200D 0DBB)
129 ("~" "ර්") ; repaya (0DBB 0DCA 200D)
177 (consonant (shift consonant))
179 (is-pilla (shift is-pilla))
180 (kombuva (shift kombuva)))
183 (rakaransaya 0x0DCA 0x200D 0x0DBB)
184 (yansaya 0x0DCA 0x200D 0x0DBA)
185 (repaya (move @-) 0x0DBB 0x0DCA 0x200D (move @+))
186 (is-pilla (shift is-pilla))
187 (join 0x0DCA 0x200D (shift consonant+join)))
190 (consonant (shift consonant))
194 (rakaransaya (move @-) 0x0DCA 0x200D 0x0DBB (shift init)))
197 (eyanna (delete @<) 0x0D93 (shift init))
198 (al-lakuna (delete @<) 0x0DDA (shift init))
199 (kombuva (delete @<) 0x0DDB (shift combu_deka))
200 (aela-pilla (delete @<) 0x0DDC (shift kombuva_haa_aela-pilla))
201 (gayanukitta (delete @<) 0x0DDE (shift init))
202 (consonant (move @1) (delete @0) (move @>) 0x0DD9 (shift consonant+kombuva))
206 (consonant (move @1) (delete @0) (move @>) 0x0DDB (shift init))
209 (kombuva_haa_aela-pilla
210 (al-lakuna (delete @<) 0x0DDD (shift init))
214 (al-lakuna (delete @-) 0x0DDA (shift init))
215 (aela-pilla (delete @-) 0x0DDC (shift consonant+kombuva_haa_aela-pilla))
216 (gayanukitta (delete @-) 0x0DDE (shift init))
217 (yansaka (move @-) 0x0DCA 0x200D 0x0DBA (move @>))
218 (rakaransaya (move @-) 0x0DCA 0x200D 0x0DBB (move @>))
219 (join (shift consonant+join+kombuva))
220 (touch (move @-) 0x200D 0x0DCA (move @>))
223 (consonant+kombuva_haa_aela-pilla
224 (al-lakuna (delete @-) 0x0DDD (shift init))
227 (consonant+join+kombuva
228 (consonant (move @-) (delete @-) 0x0DCA 0x200D (move @+) 0x0DD9
229 (shift consonant+kombuva))