1# Copyright (C) 2012 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# English (US), Colemak keyboard layout.
17# Unlike the default (generic) keyboard layout, English (US) does not contain any
18# special ALT characters.
19#
20
21type OVERLAY
22
23map key 18 F
24map key 19 P
25map key 20 G
26map key 21 J
27map key 22 L
28map key 23 U
29map key 24 Y
30map key 25 SEMICOLON
31map key 31 R
32map key 32 S
33map key 33 T
34map key 34 D
35map key 36 N
36map key 37 E
37map key 38 I
38map key 39 O
39map key 49 K
40map key 58 DEL
41
42### ROW 1
43
44key GRAVE {
45    label:                              '`'
46    base:                               '`'
47    shift:                              '~'
48}
49
50key 1 {
51    label:                              '1'
52    base:                               '1'
53    shift:                              '!'
54}
55
56key 2 {
57    label:                              '2'
58    base:                               '2'
59    shift:                              '@'
60}
61
62key 3 {
63    label:                              '3'
64    base:                               '3'
65    shift:                              '#'
66}
67
68key 4 {
69    label:                              '4'
70    base:                               '4'
71    shift:                              '$'
72}
73
74key 5 {
75    label:                              '5'
76    base:                               '5'
77    shift:                              '%'
78}
79
80key 6 {
81    label:                              '6'
82    base:                               '6'
83    shift:                              '^'
84}
85
86key 7 {
87    label:                              '7'
88    base:                               '7'
89    shift:                              '&'
90}
91
92key 8 {
93    label:                              '8'
94    base:                               '8'
95    shift:                              '*'
96}
97
98key 9 {
99    label:                              '9'
100    base:                               '9'
101    shift:                              '('
102}
103
104key 0 {
105    label:                              '0'
106    base:                               '0'
107    shift:                              ')'
108}
109
110key MINUS {
111    label:                              '-'
112    base:                               '-'
113    shift:                              '_'
114}
115
116key EQUALS {
117    label:                              '='
118    base:                               '='
119    shift:                              '+'
120}
121
122### ROW 2
123
124key Q {
125    label:                              'Q'
126    base:                               'q'
127    shift, capslock:                    'Q'
128    shift+capslock:                     'q'
129}
130
131key W {
132    label:                              'W'
133    base:                               'w'
134    shift, capslock:                    'W'
135    shift+capslock:                     'w'
136}
137
138key F {
139    label:                              'F'
140    base:                               'f'
141    shift, capslock:                    'F'
142    shift+capslock:                     'f'
143}
144
145key P {
146    label:                              'P'
147    base:                               'p'
148    shift, capslock:                    'P'
149    shift+capslock:                     'p'
150}
151
152key G {
153    label:                              'G'
154    base:                               'g'
155    shift, capslock:                    'G'
156    shift+capslock:                     'g'
157}
158
159key J {
160    label:                              'J'
161    base:                               'j'
162    shift, capslock:                    'J'
163    shift+capslock:                     'j'
164}
165
166key L {
167    label:                              'L'
168    base:                               'l'
169    shift, capslock:                    'L'
170    shift+capslock:                     'l'
171}
172
173key U {
174    label:                              'U'
175    base:                               'u'
176    shift, capslock:                    'U'
177    shift+capslock:                     'u'
178}
179
180key Y {
181    label:                              'Y'
182    base:                               'y'
183    shift, capslock:                    'Y'
184    shift+capslock:                     'y'
185}
186
187key SEMICOLON {
188    label:                              ';'
189    base:                               ';'
190    shift, capslock:                    ':'
191    shift+capslock:                     ':'
192}
193
194key LEFT_BRACKET {
195    label:                              '['
196    base:                               '['
197    shift:                              '{'
198}
199
200key RIGHT_BRACKET {
201    label:                              ']'
202    base:                               ']'
203    shift:                              '}'
204}
205
206key BACKSLASH {
207    label:                              '\\'
208    base:                               '\\'
209    shift:                              '|'
210}
211
212### ROW 3
213
214key A {
215    label:                              'A'
216    base:                               'a'
217    shift, capslock:                    'A'
218    shift+capslock:                     'a'
219}
220
221key R {
222    label:                              'R'
223    base:                               'r'
224    shift, capslock:                    'R'
225    shift+capslock:                     'r'
226}
227
228key S {
229    label:                              'S'
230    base:                               's'
231    shift, capslock:                    'S'
232    shift+capslock:                     's'
233}
234
235key T {
236    label:                              'T'
237    base:                               't'
238    shift, capslock:                    'T'
239    shift+capslock:                     't'
240}
241
242key D {
243    label:                              'D'
244    base:                               'd'
245    shift, capslock:                    'D'
246    shift+capslock:                     'd'
247}
248
249key H {
250    label:                              'H'
251    base:                               'h'
252    shift, capslock:                    'H'
253    shift+capslock:                     'h'
254}
255
256key N {
257    label:                              'N'
258    base:                               'n'
259    shift, capslock:                    'N'
260    shift+capslock:                     'n'
261}
262
263key E {
264    label:                              'E'
265    base:                               'e'
266    shift, capslock:                    'E'
267    shift+capslock:                     'e'
268}
269
270key I {
271    label:                              'I'
272    base:                               'i'
273    shift, capslock:                    'I'
274    shift+capslock:                     'i'
275}
276
277key O {
278    label:                              'O'
279    base:                               'o'
280    shift:                              'O'
281}
282
283key APOSTROPHE {
284    label:                              '\''
285    base:                               '\''
286    shift:                              '"'
287}
288
289### ROW 4
290
291key Z {
292    label:                              'Z'
293    base:                               'z'
294    shift, capslock:                    'Z'
295    shift+capslock:                     'z'
296}
297
298key X {
299    label:                              'X'
300    base:                               'x'
301    shift, capslock:                    'X'
302    shift+capslock:                     'x'
303}
304
305key C {
306    label:                              'C'
307    base:                               'c'
308    shift, capslock:                    'C'
309    shift+capslock:                     'c'
310}
311
312key V {
313    label:                              'V'
314    base:                               'v'
315    shift, capslock:                    'V'
316    shift+capslock:                     'v'
317}
318
319key B {
320    label:                              'B'
321    base:                               'b'
322    shift, capslock:                    'B'
323    shift+capslock:                     'b'
324}
325
326key K {
327    label:                              'K'
328    base:                               'k'
329    shift, capslock:                    'K'
330    shift+capslock:                     'k'
331}
332
333key M {
334    label:                              'M'
335    base:                               'm'
336    shift, capslock:                    'M'
337    shift+capslock:                     'm'
338}
339
340key COMMA {
341    label:                              ','
342    base:                               ','
343    shift:                              '<'
344}
345
346key PERIOD {
347    label:                              '.'
348    base:                               '.'
349    shift:                              '>'
350}
351
352key SLASH {
353    label:                              '/'
354    base:                               '/'
355    shift:                              '?'
356}
357