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