1 ;; ml-mozhi.mim -- Malayalam input method with ITRANS method
2 ;; Copyright (C) Evuraan at Gmail Dot Com
5 ;; This file is part of the m17n contrib; 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., 51 Franklin Street, Fifth Floor,
21 ;; Boston, MA 02110-1301, USA.
23 (input-method ml mozhi)
25 (description "Malayalam input method.
26 For the details, see the page:
27 <http://chithrangal.blogspot.com/2008/01/m17n-itrans.html>
34 (".") ("~") ("#") ("$") ("^") ("*") ((S-\ )) ((C-@))
35 ("0") ("1") ("2") ("3") ("4") ("~") ("=")
36 ("5") ("6") ("7") ("8") ("9") ("_")
37 ("A") ("C") ("D") ("G") ("H") ("I") ("J") ("K") ("L")
38 ("M") ("N") ("O") ("R") ("S") ("T") ("U") ("Y")
39 ("B") ("J") ("P") ("E") ("V") ("W")
40 ("a") ("b") ("c") ("d") ("e") ("f") ("g") ("h") ("i")
41 ("j") ("k") ("l") ("m") ("n") ("o") ("p") ("q") ("r")
42 ("s") ("t") ("u") ("v") ("w") ("x") ("y") ("z"))
197 ("aa" (delete @-) "ാ")
198 ("A" (delete @-) "ാ")
199 ("i" (delete @-) "ി")
200 ("ii" (delete @-) "ീ")
201 ("ee" (delete @-) "ീ")
202 ("I" (delete @-) "ീ")
203 ("u" (delete @-) "ു")
204 ("uu" (delete @-) "ൂ")
205 ("U" (delete @-) "ൂ")
206 ("oo" (delete @-) "ൂ")
207 ("RRi" (delete @-) "ൃ")
208 ("R^i" (delete @-) "ൃ")
209 ("^" (delete @-) "ൃ")
210 ("LLi" (delete @-) "")
211 ("L^i" (delete @-) "")
212 ("E" (delete @-) "േ")
213 ("e" (delete @-) "െ")
214 ("ai" (delete @-) "ൈ")
215 ("O" (delete @-) "ോ")
216 ("o" (delete @-) "ൊ")
217 ("au" (delete @-) "ൗ"))
224 ((BackSpace) (undo))))
228 (starter (pushback 1) (shift intermediate)))
231 (consonant (shift second))
232 (independent (shift finish))
234 (return (shift init)))
238 (dependent (shift finish))
240 (return (shift init)))