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