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