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    shift+capslock:                     'p'
164}
165
166key Y {
167    label:                              'Y'
168    base:                               'y'
169    shift, capslock:                    'Y'
170    shift+capslock:                     'y'
171}
172
173key F {
174    label:                              'F'
175    base:                               'f'
176    shift, capslock:                    'F'
177    shift+capslock:                     'f'
178}
179
180key G {
181    label:                              'G'
182    base:                               'g'
183    shift, capslock:                    'G'
184    shift+capslock:                     'g'
185}
186
187key C {
188    label:                              'C'
189    base:                               'c'
190    shift, capslock:                    'C'
191    shift+capslock:                     'c'
192}
193
194key R {
195    label:                              'R'
196    base:                               'r'
197    shift, capslock:                    'R'
198    shift+capslock:                     'r'
199}
200
201key L {
202    label:                              'L'
203    base:                               'l'
204    shift, capslock:                    'L'
205    shift+capslock:                     'l'
206}
207
208key SLASH {
209    label:                              '/'
210    base:                               '/'
211    shift:                              '?'
212}
213
214key EQUALS {
215    label:                              '='
216    base:                               '='
217    shift:                              '+'
218}
219
220key BACKSLASH {
221    label:                              '\\'
222    base:                               '\\'
223    shift:                              '|'
224}
225
226### ROW 3
227
228key A {
229    label:                              'A'
230    base:                               'a'
231    shift, capslock:                    'A'
232    shift+capslock:                     'a'
233}
234
235key O {
236    label:                              'O'
237    base:                               'o'
238    shift, capslock:                    'O'
239    shift+capslock:                     'o'
240}
241
242key E {
243    label:                              'E'
244    base:                               'e'
245    shift, capslock:                    'E'
246    shift+capslock:                     'e'
247}
248
249key U {
250    label:                              'U'
251    base:                               'u'
252    shift, capslock:                    'U'
253    shift+capslock:                     'u'
254}
255
256key I {
257    label:                              'I'
258    base:                               'i'
259    shift, capslock:                    'I'
260    shift+capslock:                     'i'
261}
262
263key D {
264    label:                              'D'
265    base:                               'd'
266    shift, capslock:                    'D'
267    shift+capslock:                     'd'
268}
269
270key H {
271    label:                              'H'
272    base:                               'h'
273    shift, capslock:                    'H'
274    shift+capslock:                     'h'
275}
276
277key T {
278    label:                              'T'
279    base:                               't'
280    shift, capslock:                    'T'
281    shift+capslock:                     't'
282}
283
284key N {
285    label:                              'N'
286    base:                               'n'
287    shift, capslock:                    'N'
288    shift+capslock:                     'n'
289}
290
291key S {
292    label:                              'S'
293    base:                               's'
294    shift, capslock:                    'S'
295    shift+capslock:                     's'
296}
297
298key MINUS {
299    label:                              '-'
300    base:                               '-'
301    shift:                              '_'
302}
303
304### ROW 4
305
306key SEMICOLON {
307    label:                              ';'
308    base:                               ';'
309    shift:                              ':'
310}
311
312key Q {
313    label:                              'Q'
314    base:                               'q'
315    shift, capslock:                    'Q'
316    shift+capslock:                     'q'
317}
318
319key J {
320    label:                              'J'
321    base:                               'j'
322    shift, capslock:                    'J'
323    shift+capslock:                     'j'
324}
325
326key K {
327    label:                              'K'
328    base:                               'k'
329    shift, capslock:                    'K'
330    shift+capslock:                     'k'
331}
332
333key X {
334    label:                              'X'
335    base:                               'x'
336    shift, capslock:                    'X'
337    shift+capslock:                     'x'
338}
339
340key B {
341    label:                              'B'
342    base:                               'b'
343    shift, capslock:                    'B'
344    shift+capslock:                     'b'
345}
346
347key M {
348    label:                              'M'
349    base:                               'm'
350    shift, capslock:                    'M'
351    shift+capslock:                     'm'
352}
353
354key W {
355    label:                              'W'
356    base:                               'w'
357    shift, capslock:                    'W'
358    shift+capslock:                     'w'
359}
360
361key V {
362    label:                              'V'
363    base:                               'v'
364    shift, capslock:                    'V'
365    shift+capslock:                     'v'
366}
367
368key Z {
369    label:                              'Z'
370    base:                               'z'
371    shift, capslock:                    'Z'
372    shift+capslock:                     'z'
373}
374