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