1;; kn-inscript2.mim -- Kannada input method for enhanced inscript layout
2;; Copyright (c) 2011-2016, 2021 Red Hat, Inc. All Rights Reserved.
3
4;; This program is free software; you can redistribute it and/or modify
5;; it under the terms of the GNU Lesser General Public License as published by
6;; the Free Software Foundation; either version 2.1 of the License, or
7;; (at your option) any later version.
8
9;; This program is distributed in the hope that it will be useful,
10;; but WITHOUT ANY WARRANTY; without even the implied warranty of
11;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12;; Lesser General Public License for more details.
13
14;; You should have received a copy of the GNU Lesser General Public
15;; License along with the m17n library; if not, write to the Free
16;; Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17;; Boston, MA 02110-1301, USA.
18;;
19;; Author: Parag Nemade <pnemade@redhat.com>
20
21(input-method kn inscript2)
22
23(description "Kannada input method for enhanced inscript layout.
24
25Reference URL - http://ildc.in/Inscript-layout.html
26
27Use AltGr (Alt_R key) to type the following characters:
28
29Character    Key
30----------------------------
31ZWJ            AltGr + 1
32ZWNJ           AltGr + 2
33₹              AltGr + 4
34
35Key summary :
361)	\"praa\" = pa + halant + raa
37 	\"ಪ್ರಾ\" =  ಪ  +  ್  + ರ  +  ಾ
38	h + d + j + e
39
402)	\"ska\" = sa+halant+ka
41 	\"ಸ್ಕ\"  = ಸ  +  ್  +  ಕ
42	m + d + k
43
443)	\"ththhaa\" = th + halanth + thhaa
45 	\" ತ್ಥಾ\" = ತ + ್ +ಥ + ಾ
46	l + d + L + e
47
484)	\"shhtya\" : shh + halat + T + halant + ya
49	\"ಷ್ಟ್ಯ\"  =  ಷ  +್   +  ಟ  +  ್  +  ಯ
50	< + d + ' + d + /
51
525)	\"dgaa\" : d + halant + gaa
53	\"ದ್ಗಾ\"  :  ದ + ್ + ಗ +ಾ
54	o + d + i + e
55
566)	ZWJ is assigned to key 'AltGr+1'
57	ZWNJ  is assigned to key 'AltGr+2'
58
59Key summary: Shankar Prasad <svenkate@redhat.com>
60")
61
62(title "ಕ")
63
64(map
65 (trans
66  ((KP_1) "೧")
67  ((KP_2) "೨")
68  ((KP_3) "೩")
69  ((KP_4) "೪")
70  ((KP_5) "೫")
71  ((KP_6) "೬")
72  ((KP_7) "೭")
73  ((KP_8) "೮")
74  ((KP_9) "೯")
75  ((KP_0) "೦")
76  ((KP_Decimal) ".")
77  ((KP_Divide) "/")
78  ((KP_Multiply) "*")
79  ((KP_Add) "+")
80  ((KP_Subtract) "-")
81
82  ("~" "ಒ")
83  ("`" "ೊ")
84  ("1" "೧")
85  ((G-1) "‍")
86  ("2" "೨")
87  ((G-2) "‌")
88  ("#" "್ರ")
89  ("3" "೩")
90  ("$" "ರ್")
91  ("4" "೪")
92  ((G-4) "₹")
93  ("%" "ಜ್ಞ")
94  ("5" "೫")
95  ("^" "ತ್ರ")
96  ("6" "೬")
97  ("&" "ಕ್ಷ")
98  ("7" "೭")
99  ("*" "ಶ್ರ")
100  ("8" "೮")
101  ("(" "(")
102  ("9" "೯")
103  (")" ")")
104  ("0" "೦")
105  ("_" "ಃ")
106  ("-" "-")
107  ("+" "ಋ")
108  ((G-+) "ೠ")
109  ("=" "ೃ")
110  ((G-=) "ೄ")
111  ("Q" "ಔ")
112  ("q" "ೌ")
113  ("W" "ಐ")
114  ("w" "ೈ")
115  ("E" "ಆ")
116  ("e" "ಾ")
117  ("R" "ಈ")
118  ((G-R) "ೡ")
119  ("r" "ೀ")
120  ((G-r) "ೣ")
121  ("T" "ಊ")
122  ("t" "ೂ")
123  ("Y" "ಭ")
124  ("y" "ಬ")
125  ("U" "ಙ")
126  ("u" "ಹ")
127  ((G-u) "ೱ")
128  ("I" "ಘ")
129  ("i" "ಗ")
130  ("O" "ಧ")
131  ("o" "ದ")
132  ("P" "ಝ")
133  ("p" "ಜ")
134  ("{" "ಢ")
135  ("[" "ಡ")
136  ("}" "ಞ")
137  ("]" "಼")
138  ("A" "ಓ")
139  ("a" "ೋ")
140  ("S" "ಏ")
141  ("s" "ೇ")
142  ("D" "ಅ")
143  ("d" "್")
144  ("F" "ಇ")
145  ((G-F) "ಌ")
146  ("f" "ಿ")
147  ((G-f) "ೢ")
148  ("G" "ಉ")
149  ("g" "ು")
150  ("H" "ಫ")
151  ((G-H) "ೞ")
152  ("h" "ಪ")
153  ("J" "ಱ")
154  ("j" "ರ")
155  ((G-j) "ೲ")
156  ("K" "ಖ")
157  ("k" "ಕ")
158  ("L" "ಥ")
159  ("l" "ತ")
160  (":" "ಛ")
161  (";" "ಚ")
162  ("\"" "ಠ")
163  ("'" "ಟ")
164  ("~" "ಒ")
165  ("`" "ೊ")
166  ("Z" "ಎ")
167  ("z" "ೆ")
168  ("x" "ಂ")
169  ("C" "ಣ")
170  ("c" "ಮ")
171  ("v" "ನ")
172  ("b" "ವ")
173  ("N" "ಳ")
174  ("n" "ಲ")
175  ("M" "ಶ")
176  ("m" "ಸ")
177  ("<" "ಷ")
178  ("," ",")
179  (">" "।")
180  ((G->) "ಽ")
181  ("." ".")
182  ((G-.) "॥")
183  ("/" "ಯ")
184  ))
185
186(state
187 (init
188    (trans)))
189
190