1 ;; si-wijesekera-preedit-alt.mim -- Sinhala input method with wijesekera method
2 ;; Copyright (C) 2006, 2008
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)
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 (yansaya (move @-) 0x0DCA 0x200D 0x0DBA (move @>))
218 (rakaransaya (move @-) 0x0DCA 0x200D 0x0DBB (move @>))
219 (join (shift consonant--join--kombuva))
222 (consonant--kombuva_haa_aela-pilla
223 (al-lakuna (delete @-) 0x0DDD (shift init))
226 (consonant--join--kombuva
227 (consonant (move @-) (delete @-) 0x0DCA 0x200D (move @+) 0x0DD9
228 (shift consonant--kombuva))