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