New file. Modified from ru-kbd.png.
[m17n/m17n-db.git] / MIM / zh-bopomofo.mim
1 ;; zh-bopomofo.mim -- Bopomofo input method
2 ;; Copyright (C) 2004, 2005, 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 Bopomofo.
25 ;;; @image html bopo-kbd.png "Keyboard Layout"
26 ;;; @image latex bopo-kbd.eps "Keyboard Layout" width=\narrowwidth
27
28 ;; ㄅ  ㄉ  ˇ   ˋ  ㄓ  ˊ  ˙   ㄚ  ㄞ  ㄢ  ㄦ  =+
29 ;;  ㄆ  ㄊ  ㄍ  ㄐ  ㄔ  ㄗ  ㄧ  ㄛ  ㄟ  ㄣ  [{  ]}
30 ;;   ㄇ  ㄋ  ㄎ  ㄑ  ㄕ  ㄘ  ㄨ  ㄜ  ㄠ  ㄤ  '"  \|
31 ;;    ㄈ  ㄌ  ㄏ  ㄒ  ㄖ  ㄙ  ㄩ  ㄝ  ㄡ  ㄥ
32
33 (input-method zh bopomofo)
34
35 (description
36  "Bopomofo input method using this keyboard layout.
37    ㄅ  ㄉ  ˇ   ˋ  ㄓ  ˊ  ˙   ㄚ  ㄞ  ㄢ  ㄦ  =+
38     ㄆ  ㄊ  ㄍ  ㄐ  ㄔ  ㄗ  ㄧ  ㄛ  ㄟ  ㄣ  [{  ]}
39      ㄇ  ㄋ  ㄎ  ㄑ  ㄕ  ㄘ  ㄨ  ㄜ  ㄠ  ㄤ  '\"  \\|
40       ㄈ  ㄌ  ㄏ  ㄒ  ㄖ  ㄙ  ㄩ  ㄝ  ㄡ  ㄥ
41 ")
42
43 (title "BOPO")
44
45 (map
46  (map
47   ("1" ?ㄅ)
48   ("2" ?ㄉ)
49   ("3" ?ˇ)
50   ("4" ?ˋ)
51   ("5" ?ㄓ)
52   ("6" ?ˊ)
53   ("7" ?˙)
54   ("8" ?ㄚ)
55   ("9" ?ㄞ)
56   ("0" ?ㄢ)
57   ("-" ?ㄦ)
58   ("`" ?€)
59
60   ("q" ?ㄆ)
61   ("w" ?ㄊ)
62   ("e" ?ㄍ)
63   ("r" ?ㄐ)
64   ("t" ?ㄔ)
65   ("y" ?ㄗ)
66   ("u" ?ㄧ)
67   ("i" ?ㄛ)
68   ("o" ?ㄟ)
69   ("p" ?ㄣ)
70
71   ("a" ?ㄇ)
72   ("s" ?ㄋ)
73   ("d" ?ㄎ)
74   ("f" ?ㄑ)
75   ("g" ?ㄕ)
76   ("h" ?ㄘ)
77   ("j" ?ㄨ)
78   ("k" ?ㄜ)
79   ("l" ?ㄠ)
80   (";" ?ㄤ)
81
82   ("z" ?ㄈ)
83   ("x" ?ㄌ)
84   ("c" ?ㄏ)
85   ("v" ?ㄒ)
86   ("b" ?ㄖ)
87   ("n" ?ㄙ)
88   ("m" ?ㄩ)
89   ("," ?ㄝ)
90   ("." ?ㄡ)
91   ("/" ?ㄥ)
92   ))
93
94 (state
95  (init
96   (map)))
97
98 ;; Local Variables:
99 ;; coding: utf-8
100 ;; mode: lisp
101 ;; End: