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}
129
130key W {
131    label:                              'W'
132    base:                               'w'
133    shift, capslock:                    'W'
134}
135
136key F {
137    label:                              'F'
138    base:                               'f'
139    shift, capslock:                    'F'
140}
141
142key P {
143    label:                              'P'
144    base:                               'p'
145    shift, capslock:                    'P'
146}
147
148key G {
149    label:                              'G'
150    base:                               'g'
151    shift, capslock:                    'G'
152}
153
154key J {
155    label:                              'J'
156    base:                               'j'
157    shift, capslock:                    'J'
158}
159
160key L {
161    label:                              'L'
162    base:                               'l'
163    shift, capslock:                    'L'
164}
165
166key U {
167    label:                              'U'
168    base:                               'u'
169    shift, capslock:                    'U'
170}
171
172key Y {
173    label:                              'Y'
174    base:                               'y'
175    shift, capslock:                    'Y'
176}
177
178key SEMICOLON {
179    label:                              ';'
180    base:                               ';'
181    shift, capslock:                    ':'
182}
183
184key LEFT_BRACKET {
185    label:                              '['
186    base:                               '['
187    shift:                              '{'
188}
189
190key RIGHT_BRACKET {
191    label:                              ']'
192    base:                               ']'
193    shift:                              '}'
194}
195
196key BACKSLASH {
197    label:                              '\\'
198    base:                               '\\'
199    shift:                              '|'
200}
201
202### ROW 3
203
204key A {
205    label:                              'A'
206    base:                               'a'
207    shift, capslock:                    'A'
208}
209
210key R {
211    label:                              'R'
212    base:                               'r'
213    shift, capslock:                    'R'
214}
215
216key S {
217    label:                              'S'
218    base:                               's'
219    shift, capslock:                    'S'
220}
221
222key T {
223    label:                              'T'
224    base:                               't'
225    shift, capslock:                    'T'
226}
227
228key D {
229    label:                              'D'
230    base:                               'd'
231    shift, capslock:                    'D'
232}
233
234key H {
235    label:                              'H'
236    base:                               'h'
237    shift, capslock:                    'H'
238}
239
240key N {
241    label:                              'N'
242    base:                               'n'
243    shift, capslock:                    'N'
244}
245
246key E {
247    label:                              'E'
248    base:                               'e'
249    shift, capslock:                    'E'
250}
251
252key I {
253    label:                              'I'
254    base:                               'i'
255    shift, capslock:                    'I'
256}
257
258key O {
259    label:                              'O'
260    base:                               'o'
261    shift:                              'O'
262}
263
264key APOSTROPHE {
265    label:                              '\''
266    base:                               '\''
267    shift:                              '"'
268}
269
270### ROW 4
271
272key Z {
273    label:                              'Z'
274    base:                               'z'
275    shift, capslock:                    'Z'
276}
277
278key X {
279    label:                              'X'
280    base:                               'x'
281    shift, capslock:                    'X'
282}
283
284key C {
285    label:                              'C'
286    base:                               'c'
287    shift, capslock:                    'C'
288}
289
290key V {
291    label:                              'V'
292    base:                               'v'
293    shift, capslock:                    'V'
294}
295
296key B {
297    label:                              'B'
298    base:                               'b'
299    shift, capslock:                    'B'
300}
301
302key K {
303    label:                              'K'
304    base:                               'k'
305    shift, capslock:                    'K'
306}
307
308key M {
309    label:                              'M'
310    base:                               'm'
311    shift, capslock:                    'M'
312}
313
314key COMMA {
315    label:                              ','
316    base:                               ','
317    shift:                              '<'
318}
319
320key PERIOD {
321    label:                              '.'
322    base:                               '.'
323    shift:                              '>'
324}
325
326key SLASH {
327    label:                              '/'
328    base:                               '/'
329    shift:                              '?'
330}
331