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