Versions changed to 1.6.2.
[m17n/m17n-db.git] / MIM / fa-isiri.mim
1 ;; fa-isiri.mim -- Input method for Farsi with ISIRI 2901-1994 keyboad layout
2 ;; Copyright (C) 2003, 2004, 2005
3 ;;   National Institute of Advanced Industrial Science and Technology (AIST)
4 ;;   Registration Number H15PRO112
5
6 ;; This file is part of the m17n database; a sub-part of the m17n
7 ;; library.
8
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.
13
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.
18
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.
23
24 (input-method fa isiri)
25
26 (description "Farsi input method simulating ISIRI 2901-1994 keyboard layout.
27 This is for typing Farsi by Arabic characters.
28 ")
29
30 (title "ف")
31
32 (map
33  (generic
34   ("1" "۱")
35   ("2" "۲")
36   ("3" "۳")
37   ("4" "۴")
38   ("5" "۵")
39   ("6" "۶")
40   ("7" "۷")
41   ("8" "۸")
42   ("9" "۹")
43   ("0" "۰")
44   ;;   ("-" "-")
45   ;;   ("=" "=")
46   ;;   ("\\" "\\")
47   ("`" "‍")                           ; zero width joiner
48
49   ("q" "ض")
50   ("w" "ص")
51   ("e" "ث")
52   ("r" "ق")
53   ("t" "ف")
54   ("y" "غ")
55   ("u" "ع")
56   ("i" "ه")
57   ("o" "خ")
58   ("p" "ح")
59   ("[" "ج")
60   ("]" "چ")
61
62   ("a" "ش")
63   ("s" "س")
64   ("d" "ی")
65   ("f" "ب")
66   ("g" "ل")
67   ("h" "ا")
68   ("j" "ت")
69   ("k" "ن")
70   ("l" "م")
71   (";" "ک")
72   ("'" "گ")
73
74   ("z" "ظ")
75   ("x" "ط")
76   ("c" "ز")
77   ("v" "ر")
78   ("b" "ذ")
79   ("n" "د")
80   ("m" "پ")
81   ("," "و")
82   ;;   ("." ".")
83   ;;   ("/" "/")
84
85   ;;   ("!" "!")
86   ("@" "٬")
87   ("#" "٫")
88   ;;   ("$" "")
89   ("%" "٪")
90   ("^" "×")
91   ("&" "،")
92   ;;   ("*" "*")
93   ("\(" "\)")
94   ("\)" "\(")
95   ;;   ("_" "_")
96   ;;   ("+" "+")
97   ;;   ("|" "|")
98   ;;   ("~" "~")
99
100   ("Q" "ْ")
101   ("W" "ٌ")
102   ("E" "ٍ")
103   ("R" "ً")
104   ("T" "ُ")
105   ("Y" "ِ")
106   ("U" "َ")
107   ("I" "ّ")
108   ("O" "]")
109   ("P" "[")
110   ("{" "}")
111   ("}" "{")
112
113   ("A" "ؤ")
114   ("S" "ئ")
115   ("D" "ي")
116   ("F" "إ")
117   ("G" "أ")
118   ("H" "آ")
119   ("J" "ة")
120   ("K" "»")
121   ("L" "«")
122   ;;   (":" ":")
123   ("\"" "؛")
124
125   ("Z" "ك")
126   ;;   ("X" "")
127   ("C" "ژ")
128   ;;   ("V" "")
129   ("B" "‌")                           ; zero width non joiner
130   ("N" "")
131   ("M" "ء")
132   ("<" ">")
133   (">" "<")
134   ("?" "؟")
135   ((S-\ ) "‌")                                ; zero width non joiner
136   ((C-J) "‍")                         ; zero width joiner
137   ((C-L) "‎")                         ; left to right mark
138   ((C-N) "‌")                         ; zero width non joiner
139   ((C-R) "‏")                         ; right to left mark
140   ))
141
142 (state
143  (init
144   (generic)))
145
146 ;; Local Variables:
147 ;; mode: lisp
148 ;; End: