(state:state-LVT-or-LVTL): Add backspace branch.
[m17n/m17n-db.git] / MIM / ru-phonetic.mim
1 ;; ru-phonetic.mim -- Russian input method with YAWERTY keyboard layout
2 ;; Copyright (C) 2006
3 ;;   National Institute of Advanced Industrial Science and Technology (AIST)
4 ;;   Registration Number H15PRO112
5
6 ;; This file is part of the m17n database; a sub-part of the m17n
7 ;; library.
8
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.
13
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.
18
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., 51 Franklin Street, Fifth Floor,
22 ;; Boston, MA 02110-1301, USA.
23
24 ;;; Input method for Russian simulating the keyboard layout based on
25 ;;; Roman transcription by phonetic resemblance.
26 ;;; @image html ru-phonetic.png "Keyboard Layout"
27 ;;; @image latex ru-phonetic.eps "Keyboard Layout" width=\narrowwidth
28 ;;      1!  2@  3ё  4Ё  5ъ  6Ъ  7&  8*  9(  0)  -_  чЧ  юЮ  
29 ;;        яЯ  вВ  еЕ  рР  тТ  ыЫ  уУ  иИ  оО  пП  шШ  щЩ  
30 ;;         аА  сС  дД  фФ  гГ  хХ  йЙ  кК  лЛ  ;:  '"  эЭ  
31 ;;           зЗ  ьЬ  цЦ  жЖ  бБ  нН  мМ  ,<  .>  /?  
32 ;;  This layout is based on ru_phonetic map in XKB of Xorg.
33
34 (input-method ru phonetic)
35
36 (description
37  "Rusian input method simulating the Yawerty keyboard layout.
38 This keyboard is based on Roman transcription by phonetic resemblance.
39
40     1!  2@  3ё  4Ё  5ъ  6Ъ  7&  8*  9(  0)  -_  чЧ  юЮ  
41       яЯ  вВ  еЕ  рР  тТ  ыЫ  уУ  иИ  оО  пП  шШ  щЩ  
42        аА  сС  дД  фФ  гГ  хХ  йЙ  кК  лЛ  ;:  '\"  эЭ  
43          зЗ  ьЬ  цЦ  жЖ  бБ  нН  мМ  ,<  .>  /?
44
45 This layout is based on ru_phonetic map in XKB of Xorg.")
46
47 (title "Я")
48
49 (map
50  (map
51             ("#" ?ё)
52             ("$" ?Ё)
53             ("%" ?ъ)
54             ("^" ?Ъ)
55   ("=" ?ч)  ("+" ?Ч)
56   ("`" ?ю)  ("~" ?Ю)
57
58   ("q" ?я)  ("Q" ?Я)
59   ("w" ?в)  ("W" ?В)
60   ("e" ?е)  ("E" ?Е)
61   ("r" ?р)  ("R" ?Р)
62   ("t" ?т)  ("T" ?Т)
63   ("y" ?ы)  ("Y" ?Ы)
64   ("u" ?у)  ("U" ?У)
65   ("i" ?и)  ("I" ?И)
66   ("o" ?о)  ("O" ?О)
67   ("p" ?п)  ("P" ?П)
68   ("[" ?ш)  ("{" ?Ш)
69   ("]" ?щ)  ("}" ?Щ)
70
71   ("a" ?а)  ("A" ?А)
72   ("s" ?с)  ("S" ?С)
73   ("d" ?д)  ("D" ?Д)
74   ("f" ?ф)  ("F" ?Ф)
75   ("g" ?г)  ("G" ?Г)
76   ("h" ?х)  ("H" ?Х)
77   ("j" ?й)  ("J" ?Й)
78   ("k" ?к)  ("K" ?К)
79   ("l" ?л)  ("L" ?Л)
80   ("\\" ?э) ("|" ?Э)
81
82   ("z" ?з)  ("Z" ?З)
83   ("x" ?ь)  ("X" ?Ь)
84   ("c" ?ц)  ("C" ?Ц)
85   ("v" ?ж)  ("V" ?Ж)
86   ("b" ?б)  ("B" ?Б)
87   ("n" ?н)  ("N" ?Н)
88   ("m" ?м)  ("M" ?М)))
89
90 (state
91  (init
92   (map)))
93
94 ;; Local Variables:
95 ;; coding: utf-8
96 ;; mode: lisp
97 ;; End: