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