X-Git-Url: http://git.chise.org/gitweb/?p=m17n%2Fm17n-contrib.git;a=blobdiff_plain;f=im%2Fkn-kgp.mim;h=dde23cb65a25a0723427e5423ab2275d6ba48092;hp=7b635938aaca2214cbc88a96de92eb70f64cce5f;hb=2c494052a28f3918de5532ca6902c900e7b533d6;hpb=583495ecb96db140ba39582b039c7ffd125b06cf diff --git a/im/kn-kgp.mim b/im/kn-kgp.mim index 7b63593..dde23cb 100644 --- a/im/kn-kgp.mim +++ b/im/kn-kgp.mim @@ -1,148 +1,163 @@ -;; kn-kgp.mim -- Kannada input method for KGP layout -;; This file is derived from the Kannada KGP table of scim-tables, -;; which was derived from iiimf unitLE's Kannada KGP layout. -;; Copyright (c) 2003 Sun Microsystems, Inc. All Rights Reserved. +;; kn-kgp.mim -- Kannada input method with KGP method +;; Copyright (C) 2008 +;; Sridhar M.A., Mysore; mas@mylug.org + ;; This file is part of the m17n contrib; a sub-part of the m17n ;; library. -;; The library is free software; you can redistribute it and/or +;; The m17n library 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. -;; The library is distributed in the hope that it will be useful, +;; The m17n library 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 library; if not, write to the Free +;; 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. (input-method kn kgp) -(description "Kannada input method for KGP layout. +(description "Kannada input method by KGP method. ") (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" "೧") - ("@" "@") - ("2" "೨") - ("#" "#") - ("3" "೩") - ("$" "$") - ("4" "೪") - ("%" "%") - ("5" "೫") - ("^" "^") - ("6" "೬") - ("&" "&") - ("7" "೭") - ("*" "*") - ("8" "೮") - ("(" "(") - ("9" "೯") - (")" ")") - ("0" "೦") - ("_" "_") - ("-" "-") - ("+" "+") - ("=" "=") - ("Q" "ಠ") + (starter + ("0") ("1") ("2") ("3") ("4") + ("5") ("6") ("7") ("8") ("9") + ("A") ("B") ("C") ("D") ("E") ("G") ("H") ("I") ("J") ("K") + ("L") ("M") ("N") ("O") ("P") ("Q") ("R") ("S") ("T") ("U") + ("V") ("W") ("Y") ("Z") + ("a") ("b") ("c") ("d") ("e") ("f") ("g") ("h") ("i") + ("j") ("k") ("l") ("m") ("n") ("o") ("p") ("q") ("r") + ("s") ("t") ("u") ("v") ("w") ("x") ("y") ("z")) + + (consonant + ("k" "ಕ") + ("K" "ಖ") + ("g" "ಗ") + ("G" "ಘ") + ("Z" "ಙ") + ("c" "ಚ") + ("C" "ಛ") + ("j" "ಜ") + ("jX" "ಜ಼") + ("J" "ಝ") + ("z" "ಞ") ("q" "ಟ") - ("W" "ಢ") + ("Q" "ಠ") ("w" "ಡ") - ("E" "ಏ") - ("e" "ಎ") - ("R" "ಋ") - ("r" "ರ") - ("T" "ಥ") + ("W" "ಢ") + ("N" "ಣ") ("t" "ತ") - ("Y" "ಐ") - ("y" "ಯ") - ("U" "ಊ") - ("u" "ಉ") - ("I" "ಈ") - ("i" "ಇ") - ("O" "ಓ") - ("o" "ಒ") - ("P" "ಫ") + ("T" "ಥ") + ("d" "ದ") + ("D" "ಧ") + ("n" "ನ") ("p" "ಪ") - ("{" "{") - ("[" "[") - ("}" "}") - ("]" "]") - ("A" "ಆ ") - ("a" "ಅ") + ("P" "ಫ") + ("PX" "ಫ಼") + ("b" "ಬ") + ("B" "ಭ") + ("m" "ಮ") + ("y" "ಯ") + ("r" "ರ") + ("rX" "ಱ") + ("l" "ಲ") + ("v" "ವ") ("S" "ಶ") + ("x" "ಷ") ("s" "ಸ") - ("D" "ಧ") - ("d" "ದ") - ("F" "೯") - ("f" "್") - ("G" "ಘ") - ("g" "ಗ") - ("H" "ಃ") ("h" "ಹ") - ("J" "ಝ") - ("j" "ಜ") - ("K" "ಖ") - ("k" "ಕ") ("L" "ಳ") - ("l" "ಲ") - (":" ":") - (";" ";") - ("\"" "\"") - ("'" "'") - ("|" "|") - ("\\" "\\") - ("~" "~") - ("`" "`") - ("z" "ಞ") - ("Z" "ಙ") - ("X" "ಕ್ಷ") - ("x" "ಷ") - ("C" "ಛ") - ("c" "ಚ") + ("LX" "ೞ")) + + (independent + ("a" "ಅ") + ("A" "ಆ") + ("i" "ಇ") + ("I" "ಈ") + ("u" "ಉ") + ("U" "ಊ") + ("R" "ಋ") + ("RU" "ೠ") + ("e" "ಎ") + ("E" "ಏ") + ("Y" "ಐ") + ("o" "ಒ") + ("O" "ಓ") ("V" "ಔ") - ("v" "ವ") - ("B" "ಭ") - ("b" "ಬ") - ("N" "ಣ") - ("n" "ನ") ("M" "ಂ") - ("m" "ಮ") - ("<" "<") - ("," ",") - (">" ">") - ("." ".") - ("/" "/") - ("ff" "‍") - )) + ("H" "ಃ") + ("|" "।") + ("||" "॥") + ("sX" "ಽ") + ("0" "೦") + ("1" "೧") + ("2" "೨") + ("3" "೩") + ("4" "೪") + ("5" "೫") + ("6" "೬") + ("7" "೭") + ("8" "೮") + ("9" "೯")) + + (dependent + ("f" "್") + ("A" "ಾ") + ("i" "ಿ") + ("I" "ೀ") + ("u" "ು") + ("U" "ೂ") + ("R" "ೃ") + ("RX" "ೄ") + ("e" "ೆ") + ("E" "ೇ") + ("Y" "ೈ") + ("o" "ೊ") + ("O" "ೋ") + ("V" "ೌ") + ("ff" "್‌")) + + (return + ((Return))) + + (backspace + ((BackSpace) (undo)))) (state - (init - (trans))) + (init + (starter (pushback 1) (shift intermediate))) + + (intermediate + (consonant (shift second)) + (independent (shift finish)) + (backspace) + (return (shift init))) + + (second + (consonant) + (dependent (shift finish)) + (backspace) + (return (shift init))) + + (finish + (return) + ) + +;; (finish +;; (return) +;; (t (shift init)))) + +;; Local Variables: +;; coding: utf-8 +;; mode: lisp +;; End: