1 ;; bn-unijoy.mim -- Bengali input method simulating Unijoy keyboard.
2 ;; Copyright (C) 2003, 2004, 2005
3 ;; National Institute of Advanced Industrial Science and Technology (AIST)
4 ;; Registration Number H15PRO112
6 ;; This file is part of the m17n database; a sub-part of the m17n
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.
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.
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., 59 Temple Place, Suite 330, Boston, MA
24 (input-method bn unijoy)
26 (description "Bengali input method simulating Unijoy keyboard layout.
33 ("`" "") ;; ZERO WIDTH NON-JOINER
34 ("1" "১") ;; BENGALI DIGIT ONE
35 ("2" "২") ;; BENGALI DIGIT TWO
36 ("3" "৩") ;; BENGALI DIGIT THREE
37 ("4" "৪") ;; BENGALI DIGIT FOUR
38 ("5" "৫") ;; BENGALI DIGIT FIVE
39 ("6" "৬") ;; BENGALI DIGIT SIX
40 ("7" "৭") ;; BENGALI DIGIT SEVEN
41 ("8" "৮") ;; BENGALI DIGIT EIGHT
42 ("9" "৯") ;; BENGALI DIGIT NINE
43 ("0" "০") ;; BENGALI DIGIT ZERO
45 ("q" "ঙ") ;; BENGALI LETTER NGA
46 ("w" "য") ;; BENGALI LETTER YA
47 ("e" "ড") ;; BENGALI LETTER DDA
48 ("r" "প") ;; BENGALI LETTER PA
49 ("t" "ট") ;; BENGALI LETTER TTA
50 ("y" "চ") ;; BENGALI LETTER CA
51 ("u" "জ") ;; BENGALI LETTER JA
52 ("i" "হ") ;; BENGALI LETTER HA
53 ("o" "গ") ;; BENGALI LETTER GA
54 ("p" "ড়") ;; BENGALI LETTER RRA
55 ("\\" "ঃ") ;; BENGALI SIGN VISARGA
57 ("a" "ৃ") ;; BENGALI VOWEL SIGN VOCALIC R
58 ("s" "ু") ;; BENGALI VOWEL SIGN U
59 ("d" "ি") ;; BENGALI VOWEL SIGN I
60 ("f" "া") ;; BENGALI VOWEL SIGN AA
61 ("h" "ব") ;; BENGALI LETTER BA
62 ("j" "ক") ;; BENGALI LETTER KA
63 ("k" "ত") ;; BENGALI LETTER TA
64 ("l" "দ") ;; BENGALI LETTER DA
66 ("z" "্র") ;; BENGALI SIGN VIRAMA + BENGALI LETTER RA
67 ("x" "ো") ;; BENGALI VOWEL SIGN O
68 ("c" "ে") ;; BENGALI VOWEL SIGN E
69 ("v" "র") ;; BENGALI LETTER RA
70 ("b" "ন") ;; BENGALI LETTER NA
71 ("n" "স") ;; BENGALI LETTER SA
72 ("m" "ম") ;; BENGALI LETTER MA
74 ("~" "") ;; ZERO WIDTH JOINER
75 ("$" "৳") ;; BENGALI RUPEE SIGN
76 ("^" "÷") ;; DIVISION SIGN
77 ("&" "ঁ") ;; BENGALI SIGN CANDRABINDU
78 ("*" "×") ;; MULTIPLICATION SIGN
80 ("Q" "ং") ;; BENGALI SIGN ANUSVARA
81 ("W" "য়") ;; BENGALI LETTER YYA
82 ("E" "ঢ") ;; BENGALI LETTER DDHA
83 ("R" "ফ") ;; BENGALI LETTER PHA
84 ("T" "ঠ") ;; BENGALI LETTER TTHA
85 ("Y" "ছ") ;; BENGALI LETTER CHA
86 ("U" "ঝ") ;; BENGALI LETTER JHA
87 ("I" "ঞ") ;; BENGALI LETTER NYA
88 ("O" "ঘ") ;; BENGALI LETTER GHA
89 ("P" "ঢ়") ;; BENGALI LETTER RHA
90 ("|" "ৎ") ;; BENGALI SIGN KHANDATA
92 ("A" "র্") ;; BENGALI LETTER RA + BENGALI SIGN VIRAMA
93 ("S" "ূ") ;; BENGALI VOWEL SIGN UU
94 ("D" "ী") ;; BENGALI VOWEL SIGN II
95 ("F" "অ") ;; BENGALI LETTER A
96 ("G" "।") ;; DEVANAGARI DANDA
97 ("H" "ভ") ;; BENGALI LETTER BHA
98 ("J" "খ") ;; BENGALI LETTER KHA
99 ("K" "থ") ;; BENGALI LETTER THA
100 ("L" "ধ") ;; BENGALI LETTER DHA
102 ("Z" "্য") ;; BENGALI SIGN VIRAMA + BENGALI LETTER YA
103 ("X" "ৌ") ;; BENGALI VOWEL SIGN AU
104 ("C" "ৈ") ;; BENGALI VOWEL SIGN AI
105 ("V" "ল") ;; BENGALI LETTER LA
106 ("B" "ণ") ;; BENGALI LETTER NNA
107 ("N" "ষ") ;; BENGALI LETTER SSA
108 ("M" "শ") ;; BENGALI LETTER SHA
111 ((M-=) "≠") ;; NOT EQUAL TO
113 ((M-e) "ঈ") ;; BENGALI LETTER II
114 ((M-u) "ঊ") ;; BENGALI LETTER UU
115 ((M-i) "ঐ") ;; BENGALI LETTER AI
116 ((M-o) "ঔ") ;; BENGALI LETTER AU
118 ((M-a) "ঋ") ;; BENGALI LETTER VOCALIC R
119 ((M-s) "উ") ;; BENGALI LETTER U
120 ((M-d) "ই") ;; BENGALI LETTER I
121 ((M-f) "আ") ;; BENGALI LETTER AA
122 ((M-g) "্") ;; BENGALI SIGN VIRAMA //not a dead key now
123 ((M-h) "ৰ") ;; BENGALI LETTER RA WITH MIDDLE DIAGONAL
125 ((M-x) "ও") ;; BENGALI LETTER O
126 ((M-c) "এ") ;; BENGALI LETTER E
127 ((M-v) "ৱ") ;; BENGALI LETTER RA WITH LOWER DIAGONAL
128 ((M-.) "়") ;; BENGALI SIGN NUKTA
130 ((M-!) "৴") ;; BENGALI CURRENCY NUMERATOR ONE
131 ((M-@) "৵") ;; BENGALI CURRENCY NUMERATOR TWO
132 ((M-#) "৶") ;; BENGALI CURRENCY NUMERATOR THREE
133 ((M-$) "৷") ;; BENGALI CURRENCY NUMERATOR FOUR
134 ((M-%) "৲") ;; BENGALI RUPEE MARK
135 ((M-&) "৺") ;; BENGALI ISSHAR
136 ((M-\)) "৸") ;;BENGALI CURRENCY NUMERATOR ONE LESS THAN THE DENOMINATOR
137 ((M-_) "৹") ;; BENGALI CURRENCY DENOMINATOR SIXTEEN
139 ((M-Q) "ঌ") ;; BENGALI LETTER VOCALIC L
140 ((M-W) "ৡ") ;; BENGALI LETTER VOCALIC LL
141 ((M-I) "ঽ") ;; BENGALI LETTER AVAGRAHA
143 ((M-Z) "ৢ") ;; BENGALI VOWEL SIGN VOCALIC L
144 ((M-X) "ৗ") ;; BENGALI AU LENGTH MARK
145 ((M-C) "ৠ") ;; BENGALI LETTER VOCALIC RR
146 ((M-V) "ৣ") ;; BENGALI VOWEL SIGN VOCALIC LL
147 ((M-B) "ৄ") ;; BENGALI VOWEL SIGN VOCALIC RR
148 ((M-<) "≤") ;; LESS-THAN OR EQUAL TO
149 ((M->) "≥") ;; GREATER-THAN OR EQUAL TO
153 ("g" "্") ;; BENGALI SIGN VIRAMA
157 ("f" (delete @-) "আ") ;; BENGALI LETTER AA
158 ("d" (delete @-) "ই") ;; BENGALI LETTER I
159 ("D" (delete @-) "ঈ") ;; BENGALI LETTER II
160 ("s" (delete @-) "উ") ;; BENGALI LETTER U
161 ("S" (delete @-) "ঊ") ;; BENGALI LETTER UU
162 ("a" (delete @-) "ঋ") ;; BENGALI LETTER VOCALIC R
163 ("c" (delete @-) "এ") ;; BENGALI LETTER E
164 ("C" (delete @-) "ঐ") ;; BENGALI LETTER AI
165 ("x" (delete @-) "ও") ;; BENGALI LETTER O
166 ("X" (delete @-) "ঔ") ;; BENGALI LETTER AU
167 ("G" (delete @-) "॥") ;; DEVANAGARI DOUBLE DANDA
173 (deadkey (shift virama)))
176 (independent (shift init))