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