summaryrefslogtreecommitdiffstats
path: root/input-methods/m17n/ml-typewriter/ml-typewriter.mim
blob: ef710b2b3151c5557f7aaa8a9c922b140a7fb3a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
;; ml-typewriter.mim -- layout of malayalam typewriter

;; This file is part of the m17n contrib; a sub-part of the m17n
;; library.

;; The library is free software; you can redistribute it and/or
;; modify it under the terms of the GNU Lesser General Public License
;; as published by the Free Software Foundation; either version 2.1 of
;; the License, or (at your option) any later version.

;; The library is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
;; Lesser General Public License for more details.

;; You should have received a copy of the GNU Lesser General Public
;; License along with the library; if not, write to the Free
;; Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
;; Boston, MA 02110-1301, USA.

(input-method ml typewriter)
(description "Malayalam input method in SCIM using m17n based on typewriter layout

Author: Jinesh K J <jinesh.k@gmail.com>,Swathantra Malayalam Computing <smc-discuss@googlegroups.com>

I have made a small difference to the original layout one is regarding

U0D0B which was not mapped,i mapped it to vacent ^ symbol.
next is regarding U0D08 and U0D0A which were not mapped as was created in typewriter using, U0D07/U0D09+U0D57. 
i mapped them to Y and U respectively.

I cannot find the visarga U0D03 in the typewriter layout. In mapped it to ` sign. 
")

(title "ക")

(map
 (trans
  ("~" "ബ")
  ("'" "ഃ")
  ("!" "ണ്ട")
  ("1" "1")
  ("@" "ഢ")
  ("2" "2")
  ("#" "ല്ല")
  ("3" "3")
  ("$" "യ്യ")
  ("4" "4")
  ("%" "%")
  ("5" "5")
  ("^" "ഋ")
  ("6" "6")
  ("&" "ച്ച")
  ("7" "7")
  ("*" "ങ്ങ")
  ("8" "8")
  ("(" "ങ്ക")
  ("9" "9")
  (")" "ക്ക")
  ("0" "0")
  ("_" "_")
  ("-" "-")
  ("+" "മ്മ")
  ("=" "ള്ള")
 ("Q" "ഒ")
 ("q" "ഴ")
 ("W" "ഝ")
 ("w" "ജ")
 ("E" "ഫ")
 ("e" "പ")
 ("R" "ന്‍")
 ("r" "ന")
 ("T" "ഇ")
 ("t" "എ")
 ("Y" "ഈ")
 ("y" "റ")
 ("U" "ഊ")
 ("u" "യ")
 ("I" "ു്")
 ("i" "വ")
 ("O" "ൗ")
 ("o" "ൂ")
 ("P" "ധ")
 ("p" "ദ")
  ("{" "ൃ")
  ("[" "്")
  ("}" "ഡ")
  ("]" "ഏ")
 ("A" "ഠ")
 ("a" "മ")
 ("S" "േ")
 ("s" "െ")
 ("D" "ഖ")
 ("d" "ക")
 ("F" "ഥ")
 ("f" "ത")
 ("G" "ര്‍")
 ("g" "ു")
 ("H" "ല്‍")
 ("h" "ല")
 ("J" "ീ")
 ("j" "ി")
 ("K" "ഉ")
 ("k" "ു")
 ("L" "അ")
 ("l" "ാ")
 (":" "ആ")
 ("\;" "ം")
 ("\"" "'")
 ("'" "ന്ന") 
 ("|" "ഹ")
 ("\\" "‌ത്ത")
 ("Z" "ഘ")
 ("z" "ഗ")
 ("X" "​ള്‍")
 ("x" "ള")
 ("C" "ശ")
 ("c" "സ")
 ("V" "ഛ")
 ("v" "ച")
 ("B" "ഞ")
 ("b" "ങ")
 ("N" "ണ്‍")
 ("n" "ണ")
 ("M" "ട്ട")
 ("m" "ട")
 ("<" "ഷ")
 ("," ",")
 (">" "ഭ")
 ("." ".")
 ("/" "പ്പ")
 ("?" "?")
 ))

(state
  (init
    (trans)))