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