xref: /aosp_15_r20/frameworks/base/packages/InputDevices/res/raw/keyboard_layout_english_uk.kcm (revision d57664e9bc4670b3ecf6748a746a57c557b6bc9e)
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# English (UK) keyboard layout.
17#
18
19type OVERLAY
20
21map key 43 POUND
22
23### ROW 1
24
25key GRAVE {
26    label:                              '\u0300'
27    base:                               '\u0300'
28    shift:                              '\u00AC'
29    ralt:                               '\u00A6'
30}
31
32key 1 {
33    label:                              '1'
34    base:                               '1'
35    shift:                              '!'
36}
37
38key 2 {
39    label:                              '2'
40    base:                               '2'
41    shift:                              '"'
42    ralt:                               '\u0308'
43}
44
45key 3 {
46    label:                              '3'
47    base:                               '3'
48    shift:                              '\u00A3'
49}
50
51key 4 {
52    label:                              '4'
53    base:                               '4'
54    shift:                              '$'
55    ralt:                               '\u20AC'
56}
57
58key 5 {
59    label:                              '5'
60    base:                               '5'
61    shift:                              '%'
62}
63
64key 6 {
65    label:                              '6'
66    base:                               '6'
67    shift:                              '^'
68    ralt:                               '\u0302'
69}
70
71key 7 {
72    label:                              '7'
73    base:                               '7'
74    shift:                              '&'
75}
76
77key 8 {
78    label:                              '8'
79    base:                               '8'
80    shift:                              '*'
81}
82
83key 9 {
84    label:                              '9'
85    base:                               '9'
86    shift:                              '('
87}
88
89key 0 {
90    label:                              '0'
91    base:                               '0'
92    shift:                              ')'
93}
94
95key MINUS {
96    label:                              '-'
97    base:                               '-'
98    shift:                              '_'
99}
100
101key EQUALS {
102    label:                              '='
103    base:                               '='
104    shift:                              '+'
105}
106
107### ROW 2
108
109key Q {
110    label:                              'Q'
111    base:                               'q'
112    shift, capslock:                    'Q'
113    shift+capslock:                     'q'
114}
115
116key W {
117    label:                              'W'
118    base:                               'w'
119    shift, capslock:                    'W'
120    shift+capslock:                     'w'
121    ralt:                               '\u1e83'
122    shift+ralt, capslock+ralt:          '\u1e82'
123    shift+capslock+ralt:                '\u1e83'
124}
125
126key E {
127    label:                              'E'
128    base:                               'e'
129    shift, capslock:                    'E'
130    shift+capslock:                     'e'
131    ralt:                               '\u00e9'
132    shift+ralt, capslock+ralt:          '\u00c9'
133    shift+capslock+ralt:                '\u00e9'
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    ralt:                               '\u00fd'
156    shift+ralt, capslock+ralt:          '\u00dd'
157    shift+capslock+ralt:                '\u00fd'
158}
159
160key U {
161    label:                              'U'
162    base:                               'u'
163    shift, capslock:                    'U'
164    shift+capslock:                     'u'
165    ralt:                               '\u00fa'
166    shift+ralt, capslock+ralt:          '\u00da'
167    shift+capslock+ralt:                '\u00fa'
168}
169
170key I {
171    label:                              'I'
172    base:                               'i'
173    shift, capslock:                    'I'
174    shift+capslock:                     'i'
175    ralt:                               '\u00ed'
176    shift+ralt, capslock+ralt:          '\u00cd'
177    shift+capslock+ralt:                '\u00ed'
178}
179
180key O {
181    label:                              'O'
182    base:                               'o'
183    shift, capslock:                    'O'
184    shift+capslock:                     'o'
185    ralt:                               '\u00f3'
186    shift+ralt, capslock+ralt:          '\u00d3'
187    shift+capslock+ralt:                '\u00f3'
188}
189
190key P {
191    label:                              'P'
192    base:                               'p'
193    shift, capslock:                    'P'
194    shift+capslock:                     'p'
195}
196
197key LEFT_BRACKET {
198    label:                              '['
199    base:                               '['
200    shift:                              '{'
201}
202
203key RIGHT_BRACKET {
204    label:                              ']'
205    base:                               ']'
206    shift:                              '}'
207    shift+ralt:                         '|'
208}
209
210### ROW 3
211
212key A {
213    label:                              'A'
214    base:                               'a'
215    shift, capslock:                    'A'
216    shift+capslock:                     'a'
217    ralt:                               '\u00e1'
218    shift+ralt, capslock+ralt:          '\u00c1'
219    shift+capslock+ralt:                '\u00e1'
220}
221
222key S {
223    label:                              'S'
224    base:                               's'
225    shift, capslock:                    'S'
226    shift+capslock:                     's'
227}
228
229key D {
230    label:                              'D'
231    base:                               'd'
232    shift, capslock:                    'D'
233    shift+capslock:                     'd'
234}
235
236key F {
237    label:                              'F'
238    base:                               'f'
239    shift, capslock:                    'F'
240    shift+capslock:                     'f'
241}
242
243key G {
244    label:                              'G'
245    base:                               'g'
246    shift, capslock:                    'G'
247    shift+capslock:                     'g'
248}
249
250key H {
251    label:                              'H'
252    base:                               'h'
253    shift, capslock:                    'H'
254    shift+capslock:                     'h'
255}
256
257key J {
258    label:                              'J'
259    base:                               'j'
260    shift, capslock:                    'J'
261    shift+capslock:                     'j'
262}
263
264key K {
265    label:                              'K'
266    base:                               'k'
267    shift, capslock:                    'K'
268    shift+capslock:                     'k'
269}
270
271key L {
272    label:                              'L'
273    base:                               'l'
274    shift, capslock:                    'L'
275    shift+capslock:                     'l'
276}
277
278key SEMICOLON {
279    label:                              ';'
280    base:                               ';'
281    shift:                              ':'
282}
283
284key APOSTROPHE {
285    label:                              '\''
286    base:                               '\''
287    shift:                              '@'
288    ralt:                               '\u0301'
289    shift+ralt:                         '`'
290}
291
292key POUND {
293    label:                              '#'
294    base:                               '#'
295    shift:                              '~'
296    ralt:                               '\u0303'
297    shift+ralt:                         '\\'
298}
299
300### ROW 4
301
302key BACKSLASH {
303    label:                              '\\'
304    base:                               '\\'
305    shift:                              '|'
306}
307
308key Z {
309    label:                              'Z'
310    base:                               'z'
311    shift, capslock:                    'Z'
312    shift+capslock:                     'z'
313}
314
315key X {
316    label:                              'X'
317    base:                               'x'
318    shift, capslock:                    'X'
319    shift+capslock:                     'x'
320}
321
322key C {
323    label:                              'C'
324    base:                               'c'
325    shift, capslock:                    'C'
326    shift+capslock:                     'c'
327    ralt:                               '\u00e7'
328    shift+ralt, capslock+ralt:          '\u00c7'
329    shift+capslock+ralt:                '\u00e7'
330}
331
332key V {
333    label:                              'V'
334    base:                               'v'
335    shift, capslock:                    'V'
336    shift+capslock:                     'v'
337}
338
339key B {
340    label:                              'B'
341    base:                               'b'
342    shift, capslock:                    'B'
343    shift+capslock:                     'b'
344}
345
346key N {
347    label:                              'N'
348    base:                               'n'
349    shift, capslock:                    'N'
350    shift+capslock:                     'n'
351}
352
353key M {
354    label:                              'M'
355    base:                               'm'
356    shift, capslock:                    'M'
357    shift+capslock:                     'm'
358}
359
360key COMMA {
361    label:                              ','
362    base:                               ','
363    shift:                              '<'
364}
365
366key PERIOD {
367    label:                              '.'
368    base:                               '.'
369    shift:                              '>'
370}
371
372key SLASH {
373    label:                              '/'
374    base:                               '/'
375    shift:                              '?'
376}
377