1# Copyright (C) 2014 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#      http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15#
16# Cangjie keyboard layout
17#
18
19
20type OVERLAY
21
22### Row 1
23
24key GRAVE {
25    label:                              '`'
26    base:                               '`'
27    shift:                              '~'
28}
29
30key 1 {
31    label:                              '1'
32    base:                               '1'
33    shift:                              '!'
34}
35
36key 2 {
37    label:                              '2'
38    base:                               '2'
39    shift:                              '@'
40}
41
42key 3 {
43    label:                              '3'
44    base:                               '3'
45    shift:                              '#'
46}
47
48key 4 {
49    label:                              '4'
50    base:                               '4'
51    shift:                              '$'
52}
53
54key 5 {
55    label:                              '5'
56    base:                               '5'
57    shift:                              '%'
58}
59
60key 6 {
61    label:                              '6'
62    base:                               '6'
63    shift:                              '^'
64}
65
66key 7 {
67    label:                              '7'
68    base:                               '7'
69    shift:                              '&'
70}
71
72key 8 {
73    label:                              '8'
74    base:                               '8'
75    shift:                              '*'
76}
77
78key 9 {
79    label:                              '9'
80    base:                               '9'
81    shift:                              '('
82}
83
84key 0 {
85    label:                              '0'
86    base:                               '0'
87    shift:                              ')'
88}
89
90key MINUS {
91    label:                              '-'
92    base:                               '-'
93    shift:                              '_'
94}
95
96key EQUALS {
97    label:                              '='
98    base:                               '='
99    shift:                              '+'
100}
101
102### Row 2
103
104key Q {
105    label:                              '\u624b'
106    base:                               '\u624b'
107    capslock, ralt:                     'q'
108    shift, shift+capslock, shift+ralt:  'Q'
109}
110
111key W {
112    label:                              '\u7530'
113    base:                               '\u7530'
114    capslock, ralt:                     'w'
115    shift, shift+capslock, shift+ralt:  'W'
116}
117
118key E {
119    label:                              '\u6c34'
120    base:                               '\u6c34'
121    capslock, ralt:                     'e'
122    shift, shift+capslock, shift+ralt:  'E'
123}
124
125key R {
126    label:                              '\u53e3'
127    base:                               '\u53e3'
128    capslock, ralt:                     'r'
129    shift, shift+capslock, shift+ralt:  'R'
130}
131
132key T {
133    label:                              '\u5eff'
134    base:                               '\u5eff'
135    capslock, ralt:                     't'
136    shift, shift+capslock, shift+ralt:  'T'
137}
138
139key Y {
140    label:                              '\u535c'
141    base:                               '\u535c'
142    capslock, ralt:                     'y'
143    shift, shift+capslock, shift+ralt:  'Y'
144}
145
146key U {
147    label:                              '\u5c71'
148    base:                               '\u5c71'
149    capslock, ralt:                     'u'
150    shift, shift+capslock, shift+ralt:  'U'
151}
152
153key I {
154    label:                              '\u6208'
155    base:                               '\u6208'
156    capslock, ralt:                     'i'
157    shift, shift+capslock, shift+ralt:  'I'
158}
159
160key O {
161    label:                              '\u4eba'
162    base:                               '\u4eba'
163    capslock, ralt:                     'o'
164    shift, shift+capslock, shift+ralt:  'O'
165}
166
167key P {
168    label:                              '\u5fc3'
169    base:                               '\u5fc3'
170    capslock, ralt:                     'p'
171    shift, shift+capslock, shift+ralt:  'P'
172}
173
174key LEFT_BRACKET {
175    label:                              '['
176    base:                               '['
177    shift:                              '{'
178}
179
180key RIGHT_BRACKET {
181    label:                              ']'
182    base:                               ']'
183    shift:                              '}'
184}
185
186key BACKSLASH {
187    label:                              '\\'
188    base:                               '\\'
189    shift:                              '|'
190}
191
192### Row 3
193
194key A {
195    label:                              '\u65e5'
196    base:                               '\u65e5'
197    capslock, ralt:                     'a'
198    shift, shift+capslock, shift+ralt:  'A'
199}
200
201key S {
202    label:                              '\u5c38'
203    base:                               '\u5c38'
204    capslock, ralt:                     's'
205    shift, shift+capslock, shift+ralt:  'S'
206}
207
208key D {
209    label:                              '\u6728'
210    base:                               '\u6728'
211    capslock, ralt:                     'd'
212    shift, shift+capslock, shift+ralt:  'D'
213}
214
215key F {
216    label:                              '\u706b'
217    base:                               '\u706b'
218    capslock, ralt:                     'f'
219    shift, shift+capslock, shift+ralt:  'F'
220}
221
222key G {
223    label:                              '\u571f'
224    base:                               '\u571f'
225    capslock, ralt:                     'g'
226    shift, shift+capslock, shift+ralt:  'G'
227}
228
229key H {
230    label:                              '\u7af9'
231    base:                               '\u7af9'
232    capslock, ralt:                     'h'
233    shift, shift+capslock, shift+ralt:  'H'
234}
235
236key J {
237    label:                              '\u5341'
238    base:                               '\u5341'
239    capslock, ralt:                     'j'
240    shift, shift+capslock, shift+ralt:  'J'
241}
242
243key K {
244    label:                              '\u5927'
245    base:                               '\u5927'
246    capslock, ralt:                     'k'
247    shift, shift+capslock, shift+ralt:  'K'
248}
249
250key L {
251    label:                              '\u4e2d'
252    base:                               '\u4e2d'
253    capslock, ralt:                     'l'
254    shift, shift+capslock, shift+ralt:  'L'
255}
256
257key SEMICOLON {
258    label:                              ';'
259    base:                               ';'
260    shift:                              ':'
261}
262
263key APOSTROPHE {
264    label:                              '\''
265    base:                               '\''
266    shift:                              '\u201d'
267}
268
269### Row 4
270
271key Z {
272    label:                                      'z'
273    base, ralt:                                 'z'
274    shift, capslock, shift+ralt, ralt+capslock: 'Z'
275}
276
277key X {
278    label:                              '\u91cd'
279    base:                               '\u91cd'
280    capslock, ralt:                     'x'
281    shift, shift+capslock, shift+ralt:  'X'
282}
283
284key C {
285    label:                              '\u91d1'
286    base:                               '\u91d1'
287    capslock, ralt:                     'c'
288    shift, shift+capslock, shift+ralt:  'C'
289}
290
291key V {
292    label:                              '\u5973'
293    base:                               '\u5973'
294    capslock, ralt:                     'v'
295    shift, shift+capslock, shift+ralt:  'V'
296}
297
298key B {
299    label:                              '\u6708'
300    base:                               '\u6708'
301    capslock, ralt:                     'b'
302    shift, shift+capslock, shift+ralt:  'B'
303}
304
305key N {
306    label:                              '\u5f13'
307    base:                               '\u5f13'
308    capslock, ralt:                     'n'
309    shift, shift+capslock, shift+ralt:  'N'
310}
311
312key M {
313    label:                              '\u4e00'
314    base:                               '\u4e00'
315    capslock, ralt:                     'm'
316    shift, shift+capslock, shift+ralt:  'M'
317}
318
319key COMMA {
320    label:                              ','
321    base:                               ','
322    shift:                              '<'
323}
324
325key PERIOD {
326    label:                              '.'
327    base:                               '.'
328    shift:                              '>'
329}
330
331key SLASH {
332    label:                              '/'
333    base:                               '/'
334    shift:                              '?'
335}
336