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