*** empty log message ***
[m17n/m17n-contrib.git] / im / hi-remington.mim
1 ;; hi-remington.mim -- Hindi input method for Remington typewriter layout
2 ;; Copyright (c) 2006-2010 Red Hat, Inc. All Rights Reserved.
3
4 ;; This file is part of the m17n contrib; a sub-part of the m17n
5 ;; library.
6
7 ;; The m17n library is free software; you can redistribute it and/or
8 ;; modify it under the terms of the GNU Lesser General Public License
9 ;; as published by the Free Software Foundation; either version 2.1 of
10 ;; the License, or (at your option) any later version.
11
12 ;; The m17n library is distributed in the hope that it will be useful,
13 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
14 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15 ;; Lesser General Public License for more details.
16
17 ;; You should have received a copy of the GNU Lesser General Public
18 ;; License along with the m17n library; if not, write to the Free
19 ;; Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 ;; Boston, MA 02110-1301, USA.
21
22 (input-method hi remington)
23
24 (description "Hindi input method for Remington typewriter layout.
25 Author: Rajesh Ranjan <rranjan@redhat.com>
26 ")
27
28 (title "क")
29
30 (map
31  (starter
32   (".") ("~") ("!") ("@") ("#") ("$") ("%") ("^") ("&") 
33   ("*") ("(") (")") ("{") ("}") ("[") ("]") ("<") (">")
34   (",") ("?") ("/") ("\\") ("\"") (":") (";") ("+") ("=")
35   ("_") ("-") ("0") ("1") ("2") ("3") ("4") ("5") ("6")
36   ("7") ("8") ("9") ("`") ("|") ("'")
37   ("A") ("B")("C") ("D") ("E") ("F") ("G") ("H") ("I") 
38   ("J") ("K") ("L") ("M") ("N") ("O") ("P") ("Q") ("R")
39   ("S") ("T") ("U") ("V") ("W") ("X") ("Y") ("Z")
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")
43   ((KP_1)) ((KP_2)) ((KP_3)) ((KP_4)) ((KP_5))
44   ((KP_6)) ((KP_7)) ((KP_8)) ((KP_9)) ((KP_0)))
45
46  (consonant
47   ("{" "क्ष्")
48   ("[" "ख्")
49   (")" "द्घ")
50   ("}" "द्व")
51  ("E" "म्")
52  ("R" "त्")
53  ("T" "ज्")
54  ("Y" "ल्")
55  ("U" "न्")
56  ("I" "प्")
57  ("O" "व्")
58 ("P" "च्") 
59  ("D" "क्")
60  ("F" "थ्")
61  ("H" "भ्")
62  ("L" "स्")
63   ("\"" "ष्")
64   ("'" "श्")
65  ("z" "्र")
66  ("Z" "र्") 
67  ("X" "ग्")
68  ("C" "ब्")
69   ("." "ण्")
70   ("?" "घ्")
71   ("/" "ध्"))
72
73   (independent
74   ((KP_1) "१")
75   ((KP_2) "२")
76   ((KP_3) "३")
77   ((KP_4) "४")
78   ((KP_5) "५")
79   ((KP_6) "६")
80   ((KP_7) "७")
81   ((KP_8) "८")
82   ((KP_9) "९")
83   ((KP_0) "०")
84   ((KP_Decimal) ".")
85   ((KP_Divide) "/")
86   ((KP_Multiply) "*")
87   ((KP_Add) "+")
88   ((KP_Subtract) "-") 
89   ("vk" "आ")
90   ("Wa" "ँ")
91   ("ks" "ो")
92   ("kS" "ौ")
93   ("vAs" "ओ")
94   ("vAS" "औ")
95   ("`" "ृ")
96  ("~" "`") 
97  ("!" "!")
98   ("1" "१")
99  ("@" "/")
100   ("2" "२")
101   ("#" "रु")
102   ("3" "३")
103  ("$" "+")
104   ("4" "४")
105   ("%" "ः")
106   ("5" "५")
107  ("^" "'")
108   ("6" "६")
109  ("&" "-")
110   ("7" "७")
111  ("*" "'")
112   ("8" "८")
113  ("(" ";")
114   ("9" "९")
115   ("0" "०")
116   ("_" "ऋ")
117  ("-" ".")
118   ("+" "़")
119   ("=" "त्र")
120 ("q" "ु")
121  ("W" "ॅ")
122  ("w" "ू")
123  ("Q" "फ")
124  ("r" "त")
125  ("e" "म")
126  ("t" "ज")
127  ("y" "ल")
128  ("u" "न")
129  ("i" "प")
130  ("o" "व")
131  ("p" "च")
132  ("]" ",")
133   ("|" "द्य")
134  ("\\" "?")
135  ("A" "।")
136  ("a" "ं")
137  ("S" "ै")
138  ("s" "े")
139  ("d" "क")
140  ("f" "ि")
141  ("G" "ळ")
142  ("g" "ह")
143  ("h" "ी")
144  ("J" "श्र")
145  ("j" "र")
146  ("K" "ज्ञ")
147  ("k" "ा")
148  ("l" "स")
149   (":" "रू")
150   (";" "य")
151  ("x" "ग")
152  ("c" "ब")
153  ("V" "ट")
154  ("v" "अ")
155  ("B" "ठ")
156  ("b" "इ")
157  ("N" "छ")
158  ("n" "द")
159  ("M" "ड")
160  ("m" "उ")
161   ("<" "ढ")
162   ("," "ए")
163   (">" "झ"))
164
165 (dependent
166   ("k" (delete @-) ""))
167   
168  (return
169   ((Return)))
170
171  (backspace
172   ((BackSpace) (undo))))
173
174 (state
175  (init
176   (starter (pushback 1) (shift intermediate)))
177
178  (intermediate
179   (consonant (shift second))
180   (independent (shift init))
181   (backspace)
182   (return (shift init)))
183
184  (second
185   (consonant)
186   (dependent (shift init))
187   (backspace)
188   (return (shift init))))
189
190 ;; Local Variables:
191 ;; coding: utf-8
192 ;; mode: emacs-lisp
193 ;; End: