1 | # American Dvorak
|
---|
2 | map 0x10409
|
---|
3 |
|
---|
4 | # Note: we are not including the common section
|
---|
5 | include modifiers
|
---|
6 |
|
---|
7 | #
|
---|
8 | # Top row
|
---|
9 | #
|
---|
10 | 1 0x2
|
---|
11 | 2 0x3
|
---|
12 | 3 0x4
|
---|
13 | 4 0x5
|
---|
14 | 5 0x6
|
---|
15 | 6 0x7
|
---|
16 | 7 0x8
|
---|
17 | 8 0x9
|
---|
18 | 9 0xa
|
---|
19 | 0 0xb
|
---|
20 | BackSpace 0xe
|
---|
21 |
|
---|
22 | #
|
---|
23 | # QWERTY first row
|
---|
24 |
|
---|
25 | # QWERTY:
|
---|
26 | # q w e r t y u i o p
|
---|
27 |
|
---|
28 | # Dvorak:
|
---|
29 | # ' , . p y f g c r l
|
---|
30 |
|
---|
31 | Tab 0xf localstate
|
---|
32 | ISO_Left_Tab 0xf shift
|
---|
33 | q 0x2d addupper
|
---|
34 | w 0x33 addupper
|
---|
35 | e 0x20 addupper
|
---|
36 | r 0x18 addupper
|
---|
37 | t 0x25 addupper
|
---|
38 | y 0x14 addupper
|
---|
39 | u 0x21 addupper
|
---|
40 | i 0x22 addupper
|
---|
41 | o 0x1f addupper
|
---|
42 | p 0x13 addupper
|
---|
43 |
|
---|
44 | #
|
---|
45 | # QWERTY second row
|
---|
46 |
|
---|
47 | # QUERTY:
|
---|
48 | # a s d f g h j k l
|
---|
49 |
|
---|
50 | # Dvorak:
|
---|
51 | # a o e u i d h t n
|
---|
52 |
|
---|
53 | a 0x1e addupper
|
---|
54 | s 0x27 addupper
|
---|
55 | d 0x23 addupper
|
---|
56 | f 0x15 addupper
|
---|
57 | g 0x16 addupper
|
---|
58 | h 0x24 addupper
|
---|
59 | j 0x2e addupper
|
---|
60 | k 0x2f addupper
|
---|
61 | l 0x19 addupper
|
---|
62 | Return 0x1c localstate
|
---|
63 |
|
---|
64 | #
|
---|
65 | # QWERTY third row
|
---|
66 |
|
---|
67 | # QUERTY:
|
---|
68 | # z x c v b n m
|
---|
69 |
|
---|
70 | # Dvorak:
|
---|
71 | # ; q j k x b m
|
---|
72 |
|
---|
73 | z 0x35 addupper
|
---|
74 | x 0x30 addupper
|
---|
75 | c 0x17 addupper
|
---|
76 | v 0x34 addupper
|
---|
77 | b 0x31 addupper
|
---|
78 | n 0x26 addupper
|
---|
79 | m 0x32 addupper
|
---|
80 |
|
---|
81 | space 0x39 localstate
|
---|
82 |
|
---|
83 | less 0x56
|
---|
84 | greater 0x56 shift
|
---|
85 | bar 0x56 altgr
|
---|
86 | brokenbar 0x56 shift altgr
|
---|
87 |
|
---|
88 | #
|
---|
89 | # Esc and Function keys
|
---|
90 | #
|
---|
91 | Escape 0x1 localstate
|
---|
92 | F1 0x3b localstate
|
---|
93 | F2 0x3c localstate
|
---|
94 | F3 0x3d localstate
|
---|
95 | F4 0x3e localstate
|
---|
96 | F5 0x3f localstate
|
---|
97 | F6 0x40 localstate
|
---|
98 | F7 0x41 localstate
|
---|
99 | F8 0x42 localstate
|
---|
100 | F9 0x43 localstate
|
---|
101 | F10 0x44 localstate
|
---|
102 | F11 0x57 localstate
|
---|
103 | SunF36 0x57 localstate
|
---|
104 | F12 0x58 localstate
|
---|
105 | SunF37 0x58 localstate
|
---|
106 |
|
---|
107 | # Printscreen, Scrollock and Pause
|
---|
108 | # Printscreen really requires four scancodes (0xe0, 0x2a, 0xe0, 0x37),
|
---|
109 | # but (0xe0, 0x37) seems to work.
|
---|
110 | Print 0xb7 localstate
|
---|
111 | Sys_Req 0xb7 localstate
|
---|
112 | Execute 0xb7 localstate
|
---|
113 | F22 0xb7 localstate
|
---|
114 | Scroll_Lock 0x46
|
---|
115 | F23 0x46
|
---|
116 |
|
---|
117 | #
|
---|
118 | # Insert - PgDown
|
---|
119 | #
|
---|
120 | Insert 0xd2 localstate
|
---|
121 | Delete 0xd3 localstate
|
---|
122 | Home 0xc7 localstate
|
---|
123 | End 0xcf localstate
|
---|
124 | Page_Up 0xc9 localstate
|
---|
125 | Page_Down 0xd1 localstate
|
---|
126 |
|
---|
127 | #
|
---|
128 | # Arrow keys
|
---|
129 | #
|
---|
130 | Left 0xcb localstate
|
---|
131 | Up 0xc8 localstate
|
---|
132 | Down 0xd0 localstate
|
---|
133 | Right 0xcd localstate
|
---|
134 |
|
---|
135 | #
|
---|
136 | # Numpad
|
---|
137 | #
|
---|
138 | Num_Lock 0x45
|
---|
139 | KP_Divide 0xb5
|
---|
140 | KP_Multiply 0x37
|
---|
141 | KP_Subtract 0x4a
|
---|
142 | KP_Add 0x4e
|
---|
143 | KP_Enter 0x9c
|
---|
144 |
|
---|
145 | KP_Decimal 0x53 numlock
|
---|
146 | KP_Separator 0x53 numlock
|
---|
147 | KP_Delete 0x53
|
---|
148 |
|
---|
149 | KP_0 0x52 numlock
|
---|
150 | KP_Insert 0x52
|
---|
151 |
|
---|
152 | KP_1 0x4f numlock
|
---|
153 | KP_End 0x4f
|
---|
154 |
|
---|
155 | KP_2 0x50 numlock
|
---|
156 | KP_Down 0x50
|
---|
157 |
|
---|
158 | KP_3 0x51 numlock
|
---|
159 | KP_Next 0x51
|
---|
160 |
|
---|
161 | KP_4 0x4b numlock
|
---|
162 | KP_Left 0x4b
|
---|
163 |
|
---|
164 | KP_5 0x4c numlock
|
---|
165 | KP_Begin 0x4c
|
---|
166 |
|
---|
167 | KP_6 0x4d numlock
|
---|
168 | KP_Right 0x4d
|
---|
169 |
|
---|
170 | KP_7 0x47 numlock
|
---|
171 | KP_Home 0x47
|
---|
172 |
|
---|
173 | KP_8 0x48 numlock
|
---|
174 | KP_Up 0x48
|
---|
175 |
|
---|
176 | KP_9 0x49 numlock
|
---|
177 | KP_Prior 0x49
|
---|
178 |
|
---|
179 | #
|
---|
180 | # Inhibited keys
|
---|
181 | #
|
---|
182 | Caps_Lock 0x0 inhibit
|
---|
183 | Multi_key 0x0 inhibit
|
---|
184 |
|
---|
185 | exclam 0x02 shift
|
---|
186 | at 0x03 shift
|
---|
187 | numbersign 0x04 shift
|
---|
188 | dollar 0x05 shift
|
---|
189 | percent 0x06 shift
|
---|
190 | asciicircum 0x07 shift
|
---|
191 | ampersand 0x08 shift
|
---|
192 | asterisk 0x09 shift
|
---|
193 | parenleft 0x0a shift
|
---|
194 | parenright 0x0b shift
|
---|
195 | minus 0x28
|
---|
196 | underscore 0x28 shift
|
---|
197 | equal 0x1b
|
---|
198 | plus 0x1b shift
|
---|
199 | bracketleft 0x0c
|
---|
200 | braceleft 0x0c shift
|
---|
201 | bracketright 0x0d
|
---|
202 | braceright 0x0d shift
|
---|
203 | semicolon 0x2c
|
---|
204 | colon 0x2c shift
|
---|
205 | apostrophe 0x10
|
---|
206 | quotedbl 0x10 shift
|
---|
207 | grave 0x29
|
---|
208 | asciitilde 0x29 shift
|
---|
209 | backslash 0x2b
|
---|
210 | bar 0x2b shift
|
---|
211 | comma 0x11
|
---|
212 | less 0x11 shift
|
---|
213 | period 0x12
|
---|
214 | greater 0x12 shift
|
---|
215 | slash 0x1a
|
---|
216 | question 0x1a shift
|
---|