1 | #!/bin/keymap -l
|
---|
2 | #
|
---|
3 | # Raw key numbering for 101 keyboard...
|
---|
4 | # [sys] [brk]
|
---|
5 | # 0x7e 0x7f
|
---|
6 | # [esc] [ f1] [ f2] [ f3] [ f4] [ f5] [ f6] [ f7] [ f8] [ f9] [f10] [f11] [f12] [prn] [scr] [pau]
|
---|
7 | # 0x01 0x02 0x03 0x04 0x05 0x06 0x07 0x08 0x09 0x0a 0x0b 0x0c 0x0d 0x0e 0x0f 0x10 K E Y P A D K E Y S
|
---|
8 | #
|
---|
9 | # [ ` ] [ 1 ] [ 2 ] [ 3 ] [ 4 ] [ 5 ] [ 6 ] [ 7 ] [ 8 ] [ 9 ] [ 0 ] [ - ] [ = ] [bck] [ins] [hme] [pup] [num] [ / ] [ * ] [ - ]
|
---|
10 | # 0x11 0x12 0x13 0x14 0x15 0x16 0x17 0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x1e 0x1f 0x20 0x21 0x22 0x23 0x24 0x25
|
---|
11 | #
|
---|
12 | # [tab] [ q ] [ w ] [ e ] [ r ] [ t ] [ y ] [ u ] [ i ] [ o ] [ p ] [ [ ] [ ] ] [ \ ] [del] [end] [pdn] [ 7 ] [ 8 ] [ 9 ] [ + ]
|
---|
13 | # 0x26 0x27 0x28 0x29 0x2a 0x2b 0x2c 0x2d 0x2e 0x2f 0x30 0x31 0x32 0x33 0x34 0x35 0x36 0x37 0x38 0x39 0x3a
|
---|
14 | #
|
---|
15 | # [cap] [ a ] [ s ] [ d ] [ f ] [ g ] [ h ] [ j ] [ k ] [ l ] [ ; ] [ ' ] [ enter ] [ 4 ] [ 5 ] [ 6 ]
|
---|
16 | # 0x3b 0x3c 0x3d 0x3e 0x3f 0x40 0x41 0x42 0x43 0x44 0x45 0x46 0x47 0x48 0x49 0x4a
|
---|
17 | #
|
---|
18 | # [shift] [ z ] [ x ] [ c ] [ v ] [ b ] [ n ] [ m ] [ , ] [ . ] [ / ] [shift] [ up] [ 1 ] [ 2 ] [ 3 ] [ent]
|
---|
19 | # 0x4b 0x4c 0x4d 0x4e 0x4f 0x50 0x51 0x52 0x53 0x54 0x55 0x56 0x57 0x58 0x59 0x5a 0x5b
|
---|
20 | #
|
---|
21 | # [ctr] [cmd] [ space ] [cmd] [ctr] [lft] [dwn] [rgt] [ 0 ] [ . ]
|
---|
22 | # 0x5c 0x5d 0x5e 0x5f 0x60 0x61 0x62 0x63 0x64 0x65
|
---|
23 | #
|
---|
24 | # NOTE: On a Microsoft Natural Keyboard:
|
---|
25 | # left option = 0x66
|
---|
26 | # right option = 0x67
|
---|
27 | # menu key = 0x68
|
---|
28 | # NOTE: On an Apple Extended Keyboard:
|
---|
29 | # left option = 0x66
|
---|
30 | # right option = 0x67
|
---|
31 | # keypad '=' = 0x6a
|
---|
32 | # power key = 0x6b
|
---|
33 | Version = 3
|
---|
34 | CapsLock = 0x3b
|
---|
35 | ScrollLock = 0x0f
|
---|
36 | NumLock = 0x22
|
---|
37 | LShift = 0x4b
|
---|
38 | RShift = 0x56
|
---|
39 | LCommand = 0x66
|
---|
40 | RCommand = 0x67
|
---|
41 | LControl = 0x5c
|
---|
42 | RControl = 0x60
|
---|
43 | LOption = 0x5d
|
---|
44 | ROption = 0x5f
|
---|
45 | Menu = 0x68
|
---|
46 | #
|
---|
47 | # Lock settings
|
---|
48 | # To set NumLock, do the following:
|
---|
49 | # LockSettings = NumLock
|
---|
50 | #
|
---|
51 | # To set everything, do the following:
|
---|
52 | # LockSettings = CapsLock NumLock ScrollLock
|
---|
53 | #
|
---|
54 | LockSettings = NumLock
|
---|
55 | # Legend:
|
---|
56 | # n = Normal
|
---|
57 | # s = Shift
|
---|
58 | # c = Control
|
---|
59 | # C = CapsLock
|
---|
60 | # o = Option
|
---|
61 | # Key n s c o os C Cs Co Cos
|
---|
62 | Key 0x00 = '' '' '' '' '' '' '' '' ''
|
---|
63 | Key 0x01 = 0x1b 0x1b 0x1b 0x1b 0x1b 0x1b 0x1b 0x1b 0x1b
|
---|
64 | Key 0x02 = 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10
|
---|
65 | Key 0x03 = 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10
|
---|
66 | Key 0x04 = 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10
|
---|
67 | Key 0x05 = 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10
|
---|
68 | Key 0x06 = 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10
|
---|
69 | Key 0x07 = 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10
|
---|
70 | Key 0x08 = 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10
|
---|
71 | Key 0x09 = 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10
|
---|
72 | Key 0x0a = 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10
|
---|
73 | Key 0x0b = 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10
|
---|
74 | Key 0x0c = 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10
|
---|
75 | Key 0x0d = 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10
|
---|
76 | Key 0x0e = 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10
|
---|
77 | Key 0x0f = 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10
|
---|
78 | Key 0x10 = 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10
|
---|
79 | Key 0x11 = '^' 0xc2b0 '' ' ' '' '^' 0xc2b0 ' ' ''
|
---|
80 | Key 0x12 = '1' '!' '' ' ' '' '!' '1' ' ' ''
|
---|
81 | Key 0x13 = '2' '"' '' '' '' '"' '2' 0xc2b2 ''
|
---|
82 | Key 0x14 = '3' 0xc2a7 '' '' '' 0xc2a7 '3' 0xc2b3 ''
|
---|
83 | Key 0x15 = '4' '$' '' ' ' '' '$' '4' ' ' ''
|
---|
84 | Key 0x16 = '5' '%' '' '[' '' '%' '5' '[' ''
|
---|
85 | Key 0x17 = '6' '&' '' ']' '^' '&' '6' ']' ''
|
---|
86 | Key 0x18 = '7' '/' '' '|' '\\' '/' '7' '|' '\\'
|
---|
87 | Key 0x19 = '8' '(' '' '{' '' '(' '8' '{' ''
|
---|
88 | Key 0x1a = '9' ')' '' '}' '' ')' '9' '}' ''
|
---|
89 | Key 0x1b = '0' '=' '' ' ' '' '=' '0' ' ' ''
|
---|
90 | Key 0x1c = 0xc39f '?' '' ' ' '' '?' 0xc39f ' ' ''
|
---|
91 | Key 0x1d = 0xc2b4 '`' '' ' ' '' 0xc2b4 '`' ' ' ''
|
---|
92 | Key 0x1e = 0x08 0x08 0x08 0x08 0x08 0x08 0x08 0x08 0x08
|
---|
93 | Key 0x1f = 0x05 0x05 0x05 0x05 0x05 0x05 0x05 0x05 0x05
|
---|
94 | Key 0x20 = 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01
|
---|
95 | Key 0x21 = 0x0b 0x0b 0x0b 0x0b 0x0b 0x0b 0x0b 0x0b 0x0b
|
---|
96 | Key 0x22 = '' '' '' '' '' '' '' '' ''
|
---|
97 | Key 0x23 = '/' '/' '/' '/' '/' '/' '/' '/' '/'
|
---|
98 | Key 0x24 = '*' '*' '*' '*' '*' '*' '*' '*' '*'
|
---|
99 | Key 0x25 = '-' '-' '-' '-' '-' '-' '-' '-' '-'
|
---|
100 | Key 0x26 = 0x09 0x09 0x09 0x09 0x09 0x09 0x09 0x09 0x09
|
---|
101 | Key 0x27 = 'q' 'Q' 0x11 ' ' '' 'Q' 'q' ' ' ''
|
---|
102 | Key 0x28 = 'w' 'W' 0x17 ' ' '' 'W' 'w' ' ' ''
|
---|
103 | Key 0x29 = 'e' 'E' 0x05 0xe282ac '' 'E' 'e' 0xe282ac ''
|
---|
104 | Key 0x2a = 'r' 'R' 0x12 ' ' '' 'R' 'r' ' ' ''
|
---|
105 | Key 0x2b = 't' 'T' 0x14 ' ' '' 'T' 't' ' ' ''
|
---|
106 | Key 0x2c = 'z' 'Z' 0x1a ' ' '' 'Z' 'z' ' ' ''
|
---|
107 | Key 0x2d = 'u' 'U' 0x15 ' ' '' 'U' 'u' ' ' ''
|
---|
108 | Key 0x2e = 'i' 'I' 0x09 ' ' '' 'I' 'i' ' ' ''
|
---|
109 | Key 0x2f = 'o' 'O' 0x0f ' ' '' 'O' 'o' ' ' ''
|
---|
110 | Key 0x30 = 'p' 'P' 0x10 ' ' '' 'P' 'p' ' ' ''
|
---|
111 | Key 0x31 = 0xc3bc 0xc39c 0x1b ' ' '' 0xc39c 0xc3bc ' ' ''
|
---|
112 | Key 0x32 = '+' '*' 0x1d ' ' '' '*' '+' ' ' ''
|
---|
113 | Key 0x33 = '#' '\'' 0x1c ' ' '' '\'' '#' ' ' ''
|
---|
114 | Key 0x34 = 0x7f 0x7f 0x7f 0x7f 0x7f 0x7f 0x7f 0x7f 0x7f
|
---|
115 | Key 0x35 = 0x04 0x04 0x04 0x04 0x04 0x04 0x04 0x04 0x04
|
---|
116 | Key 0x36 = 0x0c 0x0c 0x0c 0x0c 0x0c 0x0c 0x0c 0x0c 0x0c
|
---|
117 | Key 0x37 = 0x01 '7' 0x01 0x01 '7' 0x01 '7' 0x01 '7'
|
---|
118 | Key 0x38 = 0x1e '8' 0x1e 0x1e '8' 0x1e '8' 0x1e '8'
|
---|
119 | Key 0x39 = 0x0b '9' 0x0b 0x0b '9' 0x0b '9' 0x0b '9'
|
---|
120 | Key 0x3a = '+' '+' '+' '+' '+' '+' '+' '+' '+'
|
---|
121 | Key 0x3b = '' '' '' '' '' '' '' '' ''
|
---|
122 | Key 0x3c = 'a' 'A' 0x01 ' ' '' 'A' 'a' ' ' ''
|
---|
123 | Key 0x3d = 's' 'S' 0x13 ' ' '' 'S' 's' ' ' ''
|
---|
124 | Key 0x3e = 'd' 'D' 0x04 ' ' '' 'D' 'd' ' ' ''
|
---|
125 | Key 0x3f = 'f' 'F' 0x06 ' ' '' 'F' 'f' ' ' ''
|
---|
126 | Key 0x40 = 'g' 'G' 0x07 ' ' '' 'G' 'g' ' ' ''
|
---|
127 | Key 0x41 = 'h' 'H' 0x08 ' ' '' 'H' 'h' ' ' ''
|
---|
128 | Key 0x42 = 'j' 'J' 0x0a ' ' '' 'J' 'j' ' ' ''
|
---|
129 | Key 0x43 = 'k' 'K' 0x0b ' ' '' 'K' 'k' ' ' ''
|
---|
130 | Key 0x44 = 'l' 'L' 0x0c '@' '' 'L' 'l' ' ' ''
|
---|
131 | Key 0x45 = 0xc3b6 0xc396 '' ' ' '' 0xc396 0xc3b6 ' ' ''
|
---|
132 | Key 0x46 = 0xc3a4 0xc384 '' ' ' '' 0xc384 0xc3a4 ' ' ''
|
---|
133 | Key 0x47 = 0x0a 0x0a 0x0a 0x0a 0x0a 0x0a 0x0a 0x0a 0x0a
|
---|
134 | Key 0x48 = 0x1c '4' 0x1c 0x1c '4' 0x1c '4' 0x1c '4'
|
---|
135 | Key 0x49 = '' '5' '' '' '5' '' '5' '' '5'
|
---|
136 | Key 0x4a = 0x1d '6' 0x1d 0x1d '6' 0x1d '6' 0x1d '6'
|
---|
137 | Key 0x4b = '' '' '' '' '' '' '' '' ''
|
---|
138 | Key 0x4c = 'y' 'Y' 0x19 ' ' '' 'Y' 'y' ' ' ''
|
---|
139 | Key 0x4d = 'x' 'X' 0x18 ' ' '' 'X' 'x' ' ' ''
|
---|
140 | Key 0x4e = 'c' 'C' 0x03 0xc3a7 '' 'C' 'c' ' ' ''
|
---|
141 | Key 0x4f = 'v' 'V' 0x16 ' ' '' 'V' 'v' ' ' ''
|
---|
142 | Key 0x50 = 'b' 'B' 0x02 ' ' '' 'B' 'b' ' ' ''
|
---|
143 | Key 0x51 = 'n' 'N' 0x0e '~' '' 'N' 'n' ' ' ''
|
---|
144 | Key 0x52 = 'm' 'M' 0x0d 0xc2b5 '' 'M' 'm' 0xc2b5 ''
|
---|
145 | Key 0x53 = ',' ';' ',' ' ' '' ';' ',' ' ' ''
|
---|
146 | Key 0x54 = '.' ':' '.' ' ' '' ':' '.' ' ' ''
|
---|
147 | Key 0x55 = '-' '_' '' ' ' '' '-' '_' ' ' ''
|
---|
148 | Key 0x56 = '' '' '' '' '' '' '' '' ''
|
---|
149 | Key 0x57 = 0x1e 0x1e 0x1e 0x1e 0x1e 0x1e 0x1e 0x1e 0x1e
|
---|
150 | Key 0x58 = 0x04 '1' 0x04 0x04 '1' 0x04 '1' 0x04 '1'
|
---|
151 | Key 0x59 = 0x1f '2' 0x1f 0x1f '2' 0x1f '2' 0x1f '2'
|
---|
152 | Key 0x5a = 0x0c '3' 0x0c 0x0c '3' 0x0c '3' 0x0c '3'
|
---|
153 | Key 0x5b = 0x0a 0x0a 0x0a 0x0a 0x0a 0x0a 0x0a 0x0a 0x0a
|
---|
154 | Key 0x5c = '' '' '' '' '' '' '' '' ''
|
---|
155 | Key 0x5d = '' '' '' '' '' '' '' '' ''
|
---|
156 | Key 0x5e = ' ' ' ' 0x00 ' ' ' ' ' ' ' ' ' ' ' '
|
---|
157 | Key 0x5f = '' '' '' '' '' '' '' '' ''
|
---|
158 | Key 0x60 = '' '' '' '' '' '' '' '' ''
|
---|
159 | Key 0x61 = 0x1c 0x1c 0x1c 0x1c 0x1c 0x1c 0x1c 0x1c 0x1c
|
---|
160 | Key 0x62 = 0x1f 0x1f 0x1f 0x1f 0x1f 0x1f 0x1f 0x1f 0x1f
|
---|
161 | Key 0x63 = 0x1d 0x1d 0x1d 0x1d 0x1d 0x1d 0x1d 0x1d 0x1d
|
---|
162 | Key 0x64 = 0x05 '0' 0x05 0x05 '0' 0x05 '0' 0x05 '0'
|
---|
163 | Key 0x65 = 0x7f ',' 0x7f 0x7f ',' 0x7f ',' 0x7f ','
|
---|
164 | Key 0x66 = '' '' '' '' '' '' '' '' ''
|
---|
165 | Key 0x67 = '' '' '' '' '' '' '' '' ''
|
---|
166 | Key 0x68 = '' '' '' '' '' '' '' '' ''
|
---|
167 | Key 0x69 = '<' '>' '' '' '' '<' '>' '' ''
|
---|
168 | Key 0x6a = '=' '' '' '' '' '=' '' '' ''
|
---|
169 | Key 0x6b = '' '' '' '' '' '' '' '' ''
|
---|
170 | Key 0x6c = '' '' '' '' '' '' '' '' ''
|
---|
171 | Key 0x6d = '' '' '' '' '' '' '' '' ''
|
---|
172 | Key 0x6e = '' '' '' '' '' '' '' '' ''
|
---|
173 | Key 0x6f = '' '' '' '' '' '' '' '' ''
|
---|
174 | Key 0x70 = '' '' '' '' '' '' '' '' ''
|
---|
175 | Key 0x71 = '' '' '' '' '' '' '' '' ''
|
---|
176 | Key 0x72 = '' '' '' '' '' '' '' '' ''
|
---|
177 | Key 0x73 = '' '' '' '' '' '' '' '' ''
|
---|
178 | Key 0x74 = '' '' '' '' '' '' '' '' ''
|
---|
179 | Key 0x75 = '' '' '' '' '' '' '' '' ''
|
---|
180 | Key 0x76 = '' '' '' '' '' '' '' '' ''
|
---|
181 | Key 0x77 = '' '' '' '' '' '' '' '' ''
|
---|
182 | Key 0x78 = '' '' '' '' '' '' '' '' ''
|
---|
183 | Key 0x79 = '' '' '' '' '' '' '' '' ''
|
---|
184 | Key 0x7a = '' '' '' '' '' '' '' '' ''
|
---|
185 | Key 0x7b = '' '' '' '' '' '' '' '' ''
|
---|
186 | Key 0x7c = '' '' '' '' '' '' '' '' ''
|
---|
187 | Key 0x7d = '' '' '' '' '' '' '' '' ''
|
---|
188 | Key 0x7e = '' '' '' '' '' '' '' '' ''
|
---|
189 | Key 0x7f = '' '' '' '' '' '' '' '' ''
|
---|
190 | Acute ' ' = 0xc2b4
|
---|
191 | Acute 'A' = 0xc381
|
---|
192 | Acute 'E' = 0xc389
|
---|
193 | Acute 'I' = 0xc38d
|
---|
194 | Acute 'O' = 0xc393
|
---|
195 | Acute 'U' = 0xc39a
|
---|
196 | Acute 'Y' = 0xc39d
|
---|
197 | Acute 'a' = 0xc3a1
|
---|
198 | Acute 'e' = 0xc3a9
|
---|
199 | Acute 'i' = 0xc3ad
|
---|
200 | Acute 'o' = 0xc3b3
|
---|
201 | Acute 'u' = 0xc3ba
|
---|
202 | Acute 'y' = 0xc3bd
|
---|
203 | AcuteTab = Normal Shift Option Option-Shift CapsLock CapsLock-Shift CapsLock-Option CapsLock-Option-Shift
|
---|
204 | Grave ' ' = '`'
|
---|
205 | Grave 'A' = 0xc380
|
---|
206 | Grave 'E' = 0xc388
|
---|
207 | Grave 'I' = 0xc38c
|
---|
208 | Grave 'O' = 0xc392
|
---|
209 | Grave 'U' = 0xc399
|
---|
210 | Grave 'a' = 0xc3a0
|
---|
211 | Grave 'e' = 0xc3a8
|
---|
212 | Grave 'i' = 0xc3ac
|
---|
213 | Grave 'o' = 0xc3b2
|
---|
214 | Grave 'u' = 0xc3b9
|
---|
215 | GraveTab = Normal Shift Option Option-Shift CapsLock CapsLock-Shift CapsLock-Option CapsLock-Option-Shift
|
---|
216 | Circumflex ' ' = '^'
|
---|
217 | Circumflex 'A' = 0xc382
|
---|
218 | Circumflex 'E' = 0xc38a
|
---|
219 | Circumflex 'I' = 0xc38e
|
---|
220 | Circumflex 'O' = 0xc394
|
---|
221 | Circumflex 'U' = 0xc39b
|
---|
222 | Circumflex 'a' = 0xc3a2
|
---|
223 | Circumflex 'e' = 0xc3aa
|
---|
224 | Circumflex 'i' = 0xc3ae
|
---|
225 | Circumflex 'o' = 0xc3b4
|
---|
226 | Circumflex 'u' = 0xc3bb
|
---|
227 | CircumflexTab = Normal Shift Option Option-Shift CapsLock CapsLock-Shift CapsLock-Option CapsLock-Option-Shift
|
---|
228 | Diaeresis ' ' = 0xc2a8
|
---|
229 | Diaeresis 'A' = 0xc384
|
---|
230 | Diaeresis 'E' = 0xc38b
|
---|
231 | Diaeresis 'I' = 0xc38f
|
---|
232 | Diaeresis 'O' = 0xc396
|
---|
233 | Diaeresis 'U' = 0xc39c
|
---|
234 | Diaeresis 'Y' = 0xc5b8
|
---|
235 | Diaeresis 'a' = 0xc3a4
|
---|
236 | Diaeresis 'e' = 0xc3ab
|
---|
237 | Diaeresis 'i' = 0xc3af
|
---|
238 | Diaeresis 'o' = 0xc3b6
|
---|
239 | Diaeresis 'u' = 0xc3bc
|
---|
240 | Diaeresis 'y' = 0xc3bf
|
---|
241 | DiaeresisTab = Normal Shift Option Option-Shift CapsLock CapsLock-Shift CapsLock-Option CapsLock-Option-Shift
|
---|
242 | Tilde ' ' = '~'
|
---|
243 | Tilde 'A' = 0xc383
|
---|
244 | Tilde 'O' = 0xc395
|
---|
245 | Tilde 'N' = 0xc391
|
---|
246 | Tilde 'a' = 0xc3a3
|
---|
247 | Tilde 'o' = 0xc3b5
|
---|
248 | Tilde 'n' = 0xc3b1
|
---|
249 | TildeTab = Option Option-Shift CapsLock-Option CapsLock-Option-Shift
|
---|