]> code.delx.au - gnu-emacs/blob - lisp/leim/quail/tamil-dvorak.el
Add the tamil-dvorak input method
[gnu-emacs] / lisp / leim / quail / tamil-dvorak.el
1 ;;; tamil-dvorak.el --- Quail package for Tamil input with Dvorak keyboard
2
3 ;; Copyright (C) 2015 Free Software Foundation, Inc.
4
5 ;; Author: Shakthi Kannan <author@shakthimaan.com>
6
7 ;; Keywords: multilingual, input method, Indian, Tamil, Dvorak
8
9 ;; This file is released under the terms of GNU Emacs.
10
11 ;; GNU Emacs is free software: you can redistribute it and/or modify
12 ;; it under the terms of the GNU General Public License as published by
13 ;; the Free Software Foundation, either version 3 of the License, or
14 ;; (at your option) any later version.
15
16 ;; GNU Emacs is distributed in the hope that it will be useful,
17 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
18 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 ;; GNU General Public License for more details.
20
21 ;; You should have received a copy of the GNU General Public License
22 ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
23
24 ;;; Commentary:
25
26 ;;; After loading this file in GNU Emacs, you can select this input
27 ;;; layout using "C-x Return C-\" followed by "tamil-dvorak" (without
28 ;;; the quotes). Available keys: Z
29
30 ;;; TODO: Add Tamil numbers, calendar from Unicode
31
32 ;;; Code:
33
34 (require 'quail)
35
36 (quail-define-package
37 "tamil-dvorak" "Tamil" "யளனக" nil
38 "யளனக Tamil keyboard layout for use with Unicode (UTF-8 encoding)
39 and Dvorak keyboard layout."
40 nil t t t t nil nil nil nil nil t)
41
42
43 ;; US Dvorak
44 ;; 1! 2@ 3# 4$ 5% 6^ 7& 8* 9( 0) [{ ]}
45 ;; '" ,< .> pP yY fF gG cC rR lL /? =+ \|
46 ;; aA oO eE uU iI dD hH tT nN sS -_
47 ;; ;: qQ jJ kK xX bB mM wW vV zZ
48
49 ;; தமிழ்
50 ;; 1! 2@ 3# 4௹ 5% 6^ 7& 8* 9( 0) -_ {}
51 ;; ஞஶ றஷ நஸ சஹ வஜ லல ரர ைஐ ொ ோ ிீ ுூ =+ \|
52 ;; ய' ள, ன. க" ப? ாழ த[ ம] ட< ்ஃ ங>
53 ;; ண$ ஒஓ உஊ எஏ ெே ஔ ௌ அஆ இஈ ;: zZ
54
55 (quail-define-rules
56 ("1" ?1)
57 ("2" ?2)
58 ("3" ?3)
59 ("4" ?4)
60 ("5" ?5)
61 ("6" ?6)
62 ("7" ?7)
63 ("8" ?8)
64 ("9" ?9)
65 ("0" ?0)
66 ("[" ?-)
67 ("]" ?{)
68 ("`" ?`)
69 ("'" ?ஞ)
70 ("," ?ற)
71 ("." ?ந)
72 ("p" ?ச)
73 ("y" ?வ)
74 ("f" ?ல)
75 ("g" ?ர)
76 ("c" ?ை)
77 ("r" ?ொ)
78 ("l" ?ி)
79 ("/" ?ு)
80 ("=" ?=)
81 ("a" ?ய)
82 ("o" ?ள)
83 ("e" ?ன)
84 ("u" ?க)
85 ("i" ?ப)
86 ("d" ?ா)
87 ("h" ?த)
88 ("t" ?ம)
89 ("n" ?ட)
90 ("s" ?்)
91 ("-" ?ங)
92 ("\\" ?\\)
93 (";" ?ண)
94 ("q" ?ஒ)
95 ("j" ?உ)
96 ("k" ?எ)
97 ("x" ?ெ)
98 ("b" ?ஔ)
99 ("m" ?அ)
100 ("w" ?இ)
101 ("v" ?;)
102 ("z" ?/)
103 ("!" ?!)
104 ("@" ?@)
105 ("#" ?#)
106 ("$" ?௹)
107 ("%" ?%)
108 ("^" ?^)
109 ("&" ?&)
110 ("*" ?*)
111 ("(" ?()
112 (")" ?))
113 ("{" ?_)
114 ("}" ?})
115 ("~" ?~)
116 ("\"" ?ஶ)
117 ("<" ?ஷ)
118 (">" ?ஸ)
119 ("P" ?ஹ)
120 ("Y" ?ஜ)
121 ("F" ?ல)
122 ("G" ?ர)
123 ("C" ?ஐ)
124 ("R" ?ோ)
125 ("L" ?ீ)
126 ("?" ?ூ)
127 ("+" ?+)
128 ("A" ?')
129 ("O" ?,)
130 ("E" ?.)
131 ("U" ?\")
132 ("I" ??)
133 ("D" ?ழ)
134 ("H" ?[)
135 ("T" ?])
136 ("N" ?<)
137 ("S" ?ஃ)
138 ("_" ?>)
139 ("|" ?|)
140 (":" ?$)
141 ("Q" ?ஓ)
142 ("J" ?ஊ)
143 ("K" ?ஏ)
144 ("X" ?ே)
145 ("B" ?ௌ)
146 ("M" ?ஆ)
147 ("W" ?ஈ)
148 ("V" ?:)
149 ("Z" ?Z))
150
151 ;;; tamil-dvorak.el ends here