File: //usr/share/m17n/te-inscript2.mim
;; te-inscript2.mim -- Telugu input method for enhanced inscript layout
;; Copyright (c) 2011-2016 Red Hat, Inc. All Rights Reserved.
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU Lesser General Public License as published by
;; the Free Software Foundation; either version 2.1 of the License, or
;; (at your option) any later version.
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
;; Lesser General Public License for more details.
;; You should have received a copy of the GNU Lesser General Public
;; License along with the m17n library; if not, write to the Free
;; Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
;; Boston, MA 02110-1301, USA.
;;
;; Author: Parag Nemade <pnemade@redhat.com>
(input-method te inscript2)
(description "Telugu input method for enhanced inscript layout.
Reference URL - http://pune.cdac.in/html/gist/down/inscript_d.asp
Use AltGr (Alt_R key) to type the following characters:
Character Key
----------------------------
ZWJ AltGr + 1
ZWNJ AltGr + 2
₹ AltGr + 4
Key description
శ => స్ + హ్ + అ
ష => S + హ్ + అ
జ్ఞ => జ్ + ఞ్ + అ
ర్త్స => ర్ + త్ + స్ + అ
కృ => క్ + ఱ్ + ఱ్ + ఇ
కై => క్ + అ + ఇ
కౌ => క్ + అ + ఉ
క్ష => క్ + ష్ + అ
స్త్రీ => స్ + త్ + ర్ + ఈ
శ్రీ => శ్ + ర్ + ఈ
These are the characterstics of the Telugu words
1. Telugu word must be end with vowel (Telugu is a vowel ending language)
2. Telugu words don't have the letter య at the initial position.
3. In telugu we dont use the combination of Sanskrit loan words + native Telugu words.
Key summary : Sree Thottempudi <sthottem@redhat.com>
")
(title "క")
(map
(trans
((KP_1) "౧")
((KP_2) "౨")
((KP_3) "౩")
((KP_4) "౪")
((KP_5) "౫")
((KP_6) "౬")
((KP_7) "౭")
((KP_8) "౮")
((KP_9) "౯")
((KP_0) "౦")
((KP_Decimal) ".")
((KP_Divide) "/")
((KP_Multiply) "*")
((KP_Add) "+")
((KP_Subtract) "-")
("1" "౧")
((G-!) "౹")
("2" "౨")
((G-@) "౼")
("3" "౩")
((G-#) "౺")
("4" "౪")
((G-$) "౽")
((G-4) "₹")
("5" "౫")
((G-%) "౻")
("6" "౬")
((G-^) "౾")
("7" "౭")
("8" "౮")
("(" "(")
((G-1) "")
("9" "౯")
(")" ")")
((G-2) "")
("0" "౦")
((G-0) "౸")
("_" "ః")
("-" "-")
((G--) "౿")
("+" "ఋ")
((G-+) "ౠ")
("=" "ృ")
((G-=) "ౄ")
("Q" "ఔ")
("q" "ౌ")
("W" "ఐ")
("w" "ై")
("E" "ఆ")
("e" "ా")
("R" "ఈ")
((G-R) "ౣ")
("r" "ీ")
((G-r) "ౡ")
("T" "ఊ")
("t" "ూ")
("Y" "భ")
("y" "బ")
("U" "ఙ")
("u" "హ")
("I" "ఘ")
("i" "గ")
("O" "ధ")
("o" "ద")
("P" "ఝ")
("p" "జ")
((G-p) "ౙ")
("{" "ఢ")
("[" "డ")
("}" "ఞ")
("A" "ఓ")
("a" "ో")
("S" "ఏ")
("s" "ే")
("D" "అ")
("d" "్")
("F" "ఇ")
((G-F) "ఌ")
("f" "ి")
((G-f) "ౢ")
("G" "ఉ")
("g" "ు")
("H" "ఫ")
("h" "ప")
("J" "ఱ")
("j" "ర")
("K" "ఖ")
("k" "క")
("L" "థ")
("l" "త")
(":" "ఛ")
(";" "చ")
((G-;) "ౘ")
("\"" "ఠ")
("'" "ట")
("~" "ఒ")
("`" "ొ")
("Z" "ఎ")
((G-Z) "ౖ")
("z" "ె")
((G-z) "ౕ")
("X" "ఁ")
("x" "ం")
("C" "ణ")
("c" "మ")
("v" "న")
("b" "వ")
("N" "ళ")
("n" "ల")
("M" "శ")
("m" "స")
("<" "ష")
("," ",")
(">" "।")
((G->) "ఽ")
("." ".")
((G-.) "॥")
("/" "య")
("%" "జ్ఞ")
("^" "త్ర")
("&" "క్ష")
("*" "శ్ర")
))
(state
(init
(trans)))