0ba96982a8888031c1c3dc02030bb184eb3a1162
[m17n/m17n-contrib.git] / im / ur-phonetic.mim
1 ;; ur-phonetic -- Urdu input method for phonetic layout
2 ;; Copyright (c) 2006 Tahir Abdul Rauf Butt <linux_kernel_worm@yahoo.com>
3
4 ;; This file is part of the m17n contrib; a sub-part of the m17n
5 ;; library.
6
7 ;; The 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 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 library; if not, write to the Free
19 ;; Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
20 ;; 02111-1307, USA.
21
22
23 (input-method ur phonetic)
24
25 (description "Urdu phonetic keyboard layout for m17n-db
26 Author: Tahir Abdul Rauf Butt <linux_kernel_worm@yahoo.com>")
27
28
29 (title "خ")
30
31 (map
32  (trans
33   ("!" "!")
34   ("1" "۱")
35   ("@" "\ 3")
36   ("2" "۲")
37   ("#" "/")
38   ("3" "۳")
39   ("$" "ئ")
40   ("4" "۴")
41   ("5" "۵")
42   ("6" "۶")
43   ("7" "۷")
44   ("8" "۸")
45   ("(" ")")
46   ("9" "۹")
47   (")" "(")
48   ("0" "۰")
49   ("_" "ّ")
50   ("-" "أ")
51   ("+" "آ")
52   ("=" "ؤ")
53   ("Q" "ْ")
54   ("q" "ق")
55   ("W" "ﷺ")
56   ("w" "و")
57   ("E" "¥")
58   ("e" "ع")
59   ("R" "ڑ")
60   ("r" "ر")
61   ("T" "ٹ")
62   ("t" "ت")
63   ("Y" "؁") 
64   ("y" "ے")
65   ("U" "،")
66   ("u" "ء")
67   ("I" "ٰ")
68   ("i" "ی")
69   ("O" "ۃ")
70   ("o" "ہ")
71   ("P" "ُ")
72   ("p" "پ")
73   ("{" "ٰ")
74   ("[" "]")
75   ("}" "ٰٰ")
76   ("]" "[")
77   ("A" "ٓ")
78   ("a" "ا")
79   ("S" "ص")
80   ("s" "س")
81   ("D" "ڈ")
82   ("d" "د")
83   ("F" "")
84   ("f" "ف")
85   ("G" "غ")
86   ("g" "گ")
87   ("H" "ح")
88   ("h" "ھ")
89   ("J" "ض")
90   ("j" "ج")
91   ("K" "خ")
92   ("k" "ک")
93   ("L" "ؓ")
94   ("l" "ل")
95   (":" ":")
96   (";" "؛")
97   ("\"" "؎")
98   ("'" "ٰ")
99   ("|" "ؔ")
100   ("\\" "؎")
101   ("~" "ً")
102   ("`" "ٍ")
103   ("Z" "ذ")
104   ("z" "ز")
105   ("X" "ژ")
106   ("x" "ش")
107   ("C" "ث")
108   ("c" "چ")
109   ("V" "ظ")
110   ("v" "ط")
111   ("B" "ؒ")
112   ("b" "ب")
113   ("N" "ں")
114   ("n" "ن")
115   ("M" "")
116   ("m" "م")
117   ("<" "ِ")
118   ("," "،")
119   (">" "َ")
120   ("." "۔")
121   ("?" "؟")
122   ("/" "\ 3")
123   ("%" "\ 3")
124   ("^" "ۖ")
125   ("&" "ٔ")
126   ("*" "ٌ")
127   ))
128
129 (state
130   (init
131     (trans)))
132