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
33Version = 3
34CapsLock = 0x3b
35ScrollLock = 0x0f
36NumLock = 0x22
37LShift = 0x4b
38RShift = 0x56
39LCommand = 0x5d
40RCommand = 0x67
41LControl = 0x5c
42RControl = 0x60
43LOption = 0x66
44ROption = 0x5f
45Menu = 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#
54LockSettings = 
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     
62Key 0x00 = ''       ''       ''       ''       ''       ''       ''       ''       ''       
63Key 0x01 = 0x1b     0x1b     0x1b     0x1b     0x1b     0x1b     0x1b     0x1b     0x1b     
64Key 0x02 = 0x10     0x10     0x10     0x10     0x10     0x10     0x10     0x10     0x10     
65Key 0x03 = 0x10     0x10     0x10     0x10     0x10     0x10     0x10     0x10     0x10     
66Key 0x04 = 0x10     0x10     0x10     0x10     0x10     0x10     0x10     0x10     0x10     
67Key 0x05 = 0x10     0x10     0x10     0x10     0x10     0x10     0x10     0x10     0x10     
68Key 0x06 = 0x10     0x10     0x10     0x10     0x10     0x10     0x10     0x10     0x10     
69Key 0x07 = 0x10     0x10     0x10     0x10     0x10     0x10     0x10     0x10     0x10     
70Key 0x08 = 0x10     0x10     0x10     0x10     0x10     0x10     0x10     0x10     0x10     
71Key 0x09 = 0x10     0x10     0x10     0x10     0x10     0x10     0x10     0x10     0x10     
72Key 0x0a = 0x10     0x10     0x10     0x10     0x10     0x10     0x10     0x10     0x10     
73Key 0x0b = 0x10     0x10     0x10     0x10     0x10     0x10     0x10     0x10     0x10     
74Key 0x0c = 0x10     0x10     0x10     0x10     0x10     0x10     0x10     0x10     0x10     
75Key 0x0d = 0x10     0x10     0x10     0x10     0x10     0x10     0x10     0x10     0x10     
76Key 0x0e = 0x10     0x10     0x10     0x10     0x10     0x10     0x10     0x10     0x10     
77Key 0x0f = 0x10     0x10     0x10     0x10     0x10     0x10     0x10     0x10     0x10     
78Key 0x10 = 0x10     0x10     0x10     0x10     0x10     0x10     0x10     0x10     0x10     
79Key 0x11 = '>'      '<'      ''       ' '      ''       '>'      '<'      ' '      ''       
80Key 0x12 = '1'      '!'      ''       ' '      ''       '1'      '!'      ' '      ''       
81Key 0x13 = '2'      '@'      0x00     ' '      ''       '2'      '@'      ' '      ''       
82Key 0x14 = '3'      '#'      ''       ' '      ''       '3'      '#'      ' '      ''       
83Key 0x15 = '4'      '$'      ''       ' '      ''       '4'      '$'      ' '      ''       
84Key 0x16 = '5'      '%'      ''       ' '      ''       '5'      '%'      ' '      ''       
85Key 0x17 = '6'      '^'      0x1e     ' '      ''       '6'      '^'      ' '      ''       
86Key 0x18 = '7'      '&'      ''       ' '      ''       '7'      '&'      ' '      ''       
87Key 0x19 = '8'      '*'      ''       ' '      ''       '8'      '*'      ' '      ''       
88Key 0x1a = '9'      '('      ''       ' '      ''       '9'      '('      ' '      ''       
89Key 0x1b = '0'      ')'      ''       ' '      ''       '0'      ')'      ' '      ''       
90Key 0x1c = '-'      '_'      0x1f     ' '      ''       '-'      '_'      ' '      ''       
91Key 0x1d = '='      '+'      ''       ' '      ''       '='      '+'      ' '      ''       
92Key 0x1e = 0x08     0x08     0x7f     0x08     0x08     0x08     0x08     0x08     0x08     
93Key 0x1f = 0x05     0x05     0x05     0x05     0x05     0x05     0x05     0x05     0x05     
94Key 0x20 = 0x01     0x01     0x01     0x01     0x01     0x01     0x01     0x01     0x01     
95Key 0x21 = 0x0b     0x0b     0x0b     0x0b     0x0b     0x0b     0x0b     0x0b     0x0b     
96Key 0x22 = ''       ''       ''       ''       ''       ''       ''       ''       ''       
97Key 0x23 = '/'      '/'      '/'      '/'      '/'      '/'      '/'      '/'      '/'      
98Key 0x24 = '*'      '*'      '*'      '*'      '*'      '*'      '*'      '*'      '*'      
99Key 0x25 = '-'      '-'      '-'      '-'      '-'      '-'      '-'      '-'      '-'      
100Key 0x26 = 0x09     0x09     0x09     0x09     0x09     0x09     0x09     0x09     0x09     
101Key 0x27 = 0xd8b6   0xd98e   0x11     ' '      ''       0xd8b6   0xd98e   ' '      ''       
102Key 0x28 = 0xd8b5   0xd98b   0x17     ' '      ''       0xd8b5   0xd98b   ' '      ''       
103Key 0x29 = 0xd8ab   0xd98f   0x05     ' '      ''       0xd8ab   0xd98f   ' '      ''       
104Key 0x2a = 0xd982   0xd98c   0x12     ' '      ''       0xd982   0xd98c   ' '      ''       
105Key 0x2b = 0xd981   0xefbbb9 0x14     ' '      ''       0xd981   0xefbbb9 ' '      ''       
106Key 0x2c = 0xd8ba   0xd8a5   0x19     ' '      ''       0xd8ba   0xd8a5   ' '      ''       
107Key 0x2d = 0xd8b9   0xe28098 0x15     ' '      ''       0xd8b9   0xe28098 ' '      ''       
108Key 0x2e = 0xd987   0xc3b7   0x09     ' '      ''       0xd987   0xc3b7   ' '      ''       
109Key 0x2f = 0xd8ae   0xc397   0x0f     ' '      ''       0xd8ae   0xc397   ' '      ''       
110Key 0x30 = 0xd8ad   0xd89b   0x10     ' '      ''       0xd8ad   0xd89b   ' '      ''       
111Key 0x31 = 0xd8ac   '}'      0x1b     ' '      ''       0xd8ac   '}'      ' '      ''       
112Key 0x32 = 0xd8af   '{'      0x1d     ' '      ''       0xd8af   '{'      ' '      ''       
113Key 0x33 = 0xd8b0   0xd991   0x1c     ' '      ''       0xd8b0   0xd991   ' '      ''       
114Key 0x34 = 0x7f     0x7f     0x7f     0x7f     0x7f     0x7f     0x7f     0x7f     0x7f     
115Key 0x35 = 0x04     0x04     0x04     0x04     0x04     0x04     0x04     0x04     0x04     
116Key 0x36 = 0x0c     0x0c     0x0c     0x0c     0x0c     0x0c     0x0c     0x0c     0x0c     
117Key 0x37 = 0x01     '7'      0x01     0x01     '7'      0x01     '7'      0x01     '7'      
118Key 0x38 = 0x1e     '8'      0x1e     0x1e     '8'      0x1e     '8'      0x1e     '8'      
119Key 0x39 = 0x0b     '9'      0x0b     0x0b     '9'      0x0b     '9'      0x0b     '9'      
120Key 0x3a = '+'      '+'      '+'      '+'      '+'      '+'      '+'      '+'      '+'      
121Key 0x3b = ''       ''       ''       ''       ''       ''       ''       ''       ''       
122Key 0x3c = 0xd8b4   '\\'     0x01     ' '      ''       0xd8b4   '\\'     ' '      ''       
123Key 0x3d = 0xd8b3   ''       0x13     ' '      ''       0xd8b3   ''       ' '      ''       
124Key 0x3e = 0xd98a   ']'      0x04     ' '      ''       0xd98a   ']'      ' '      ''       
125Key 0x3f = 0xd8a8   '['      0x06     ' '      ''       0xd8a8   '['      ' '      ''       
126Key 0x40 = 0xd984   0xefbbb7 0x07     ' '      ''       0xd984   0xefbbb7 ' '      ''       
127Key 0x41 = 0xd8a7   0xd8a3   0x08     ' '      ''       0xd8a7   0xd8a3   ' '      ''       
128Key 0x42 = 0xd8aa   0xd98d   0x0a     ' '      ''       0xd8aa   0xd98d   ' '      ''       
129Key 0x43 = 0xd986   0xd88c   0x0b     ' '      ''       0xd986   0xd88c   ' '      ''       
130Key 0x44 = 0xd985   '/'      0x0c     ' '      ''       0xd985   '/'      ' '      ''       
131Key 0x45 = 0xd983   ':'      ''       ' '      ''       0xd983   ':'      ' '      ''       
132Key 0x46 = 0xd8b7   '"'      ''       ' '      ''       0xd8b7   '"'      ' '      ''       
133Key 0x47 = 0x0a     0x0a     0x0a     0x0a     0x0a     0x0a     0x0a     0x0a     0x0a     
134Key 0x48 = 0x1c     '4'      0x1c     0x1c     '4'      0x1c     '4'      0x1c     '4'      
135Key 0x49 = ''       '5'      ''       ''       '5'      ''       '5'      ''       '5'      
136Key 0x4a = 0x1d     '6'      0x1d     0x1d     '6'      0x1d     '6'      0x1d     '6'      
137Key 0x4b = ''       ''       ''       ''       ''       ''       ''       ''       ''       
138Key 0x4c = 0xd8a6   '~'      0x1a     ' '      ''       0xd8a6   '~'      ' '      ''       
139Key 0x4d = 0xd8a1   0xd992   0x18     ' '      ''       0xd8a1   0xd992   ' '      ''       
140Key 0x4e = 0xd8a4   0xd990   0x03     ' '      ''       0xd8a4   0xd990   ' '      ''       
141Key 0x4f = 0xd8b1   0xd98d   0x16     ' '      ''       0xd8b1   0xd98d   ' '      ''       
142Key 0x50 = 0xefbbbb 0xefbbb5 0x02     ' '      ''       0xefbbbb 0xefbbb5 ' '      ''       
143Key 0x51 = 0xd989   0xd8a2   0x0e     ' '      ''       0xd989   0xd8a2   ' '      ''       
144Key 0x52 = 0xd8a9   0xe28099 0x0d     ' '      ''       0xd8a9   0xe28099 ' '      ''       
145Key 0x53 = 0xd988   ','      ''       ' '      ''       0xd988   ','      ' '      ''       
146Key 0x54 = 0xd8b2   '.'      ''       ' '      ''       0xd8b2   '.'      ' '      ''       
147Key 0x55 = 0xd8b8   0xd89f   ''       ' '      ''       0xd8b8   0xd89f   ' '      ''       
148Key 0x56 = ''       ''       ''       ''       ''       ''       ''       ''       ''       
149Key 0x57 = 0x1e     0x1e     0x1e     0x1e     0x1e     0x1e     0x1e     0x1e     0x1e     
150Key 0x58 = 0x04     '1'      0x04     0x04     '1'      0x04     '1'      0x04     '1'      
151Key 0x59 = 0x1f     '2'      0x1f     0x1f     '2'      0x1f     '2'      0x1f     '2'      
152Key 0x5a = 0x0c     '3'      0x0c     0x0c     '3'      0x0c     '3'      0x0c     '3'      
153Key 0x5b = 0x0a     0x0a     0x0a     0x0a     0x0a     0x0a     0x0a     0x0a     0x0a     
154Key 0x5c = ''       ''       ''       ''       ''       ''       ''       ''       ''       
155Key 0x5d = ''       ''       ''       ''       ''       ''       ''       ''       ''       
156Key 0x5e = ' '      ' '      0x00     ' '      ' '      ' '      ' '      ' '      ' '      
157Key 0x5f = ''       ''       ''       ''       ''       ''       ''       ''       ''       
158Key 0x60 = ''       ''       ''       ''       ''       ''       ''       ''       ''       
159Key 0x61 = 0x1c     0x1c     0x1c     0x1c     0x1c     0x1c     0x1c     0x1c     0x1c     
160Key 0x62 = 0x1f     0x1f     0x1f     0x1f     0x1f     0x1f     0x1f     0x1f     0x1f     
161Key 0x63 = 0x1d     0x1d     0x1d     0x1d     0x1d     0x1d     0x1d     0x1d     0x1d     
162Key 0x64 = 0x05     '0'      0x05     0x05     '0'      0x05     '0'      0x05     '0'      
163Key 0x65 = 0x7f     '.'      0x7f     0x7f     '.'      0x7f     '.'      0x7f     '.'      
164Key 0x66 = ''       ''       ''       ''       ''       ''       ''       ''       ''       
165Key 0x67 = ''       ''       ''       ''       ''       ''       ''       ''       ''       
166Key 0x68 = ''       ''       ''       ''       ''       ''       ''       ''       ''       
167Key 0x69 = 0xd98d   '|'      0x1c     ' '      ''       0xd98d   '|'      ' '      ''       
168Key 0x6a = ''       ''       ''       ''       ''       ''       ''       ''       ''       
169Key 0x6b = ''       ''       ''       ''       ''       ''       ''       ''       ''       
170Key 0x6c = ''       ''       ''       ''       ''       ''       ''       ''       ''       
171Key 0x6d = ''       ''       ''       ''       ''       ''       ''       ''       ''       
172Key 0x6e = ''       ''       ''       ''       ''       ''       ''       ''       ''       
173Key 0x6f = ''       ''       ''       ''       ''       ''       ''       ''       ''       
174Key 0x70 = ''       ''       ''       ''       ''       ''       ''       ''       ''       
175Key 0x71 = ''       ''       ''       ''       ''       ''       ''       ''       ''       
176Key 0x72 = ''       ''       ''       ''       ''       ''       ''       ''       ''       
177Key 0x73 = ''       ''       ''       ''       ''       ''       ''       ''       ''       
178Key 0x74 = ''       ''       ''       ''       ''       ''       ''       ''       ''       
179Key 0x75 = ''       ''       ''       ''       ''       ''       ''       ''       ''       
180Key 0x76 = ''       ''       ''       ''       ''       ''       ''       ''       ''       
181Key 0x77 = ''       ''       ''       ''       ''       ''       ''       ''       ''       
182Key 0x78 = ''       ''       ''       ''       ''       ''       ''       ''       ''       
183Key 0x79 = ''       ''       ''       ''       ''       ''       ''       ''       ''       
184Key 0x7a = ''       ''       ''       ''       ''       ''       ''       ''       ''       
185Key 0x7b = ''       ''       ''       ''       ''       ''       ''       ''       ''       
186Key 0x7c = ''       ''       ''       ''       ''       ''       ''       ''       ''       
187Key 0x7d = ''       ''       ''       ''       ''       ''       ''       ''       ''       
188Key 0x7e = ''       ''       ''       ''       ''       ''       ''       ''       ''       
189Key 0x7f = ''       ''       ''       ''       ''       ''       ''       ''       ''       
190Acute ' '       = '\''     
191Acute 'A'       = 0xc381   
192Acute 'E'       = 0xc389   
193Acute 'I'       = 0xc38d   
194Acute 'O'       = 0xc393   
195Acute 'U'       = 0xc39a   
196Acute 'Y'       = 0xc39d   
197Acute 'a'       = 0xc3a1   
198Acute 'e'       = 0xc3a9   
199Acute 'i'       = 0xc3ad   
200Acute 'o'       = 0xc3b3   
201Acute 'u'       = 0xc3ba   
202Acute 'y'       = 0xc3bd   
203Acute ''        = ''       
204Acute ''        = ''       
205Acute ''        = ''       
206AcuteTab = 
207Grave ' '       = '`'      
208Grave 'A'       = 0xc380   
209Grave 'E'       = 0xc388   
210Grave 'I'       = 0xc38c   
211Grave 'O'       = 0xc392   
212Grave 'U'       = 0xc399   
213Grave 'a'       = 0xc3a0   
214Grave 'e'       = 0xc3a8   
215Grave 'i'       = 0xc3ac   
216Grave 'o'       = 0xc3b2   
217Grave 'u'       = 0xc3b9   
218Grave ''        = ''       
219Grave ''        = ''       
220Grave ''        = ''       
221Grave ''        = ''       
222Grave ''        = ''       
223GraveTab = 
224Circumflex ' '       = '^'      
225Circumflex 'A'       = 0xc382   
226Circumflex 'E'       = 0xc38a   
227Circumflex 'I'       = 0xc38e   
228Circumflex 'O'       = 0xc394   
229Circumflex 'U'       = 0xc39b   
230Circumflex 'a'       = 0xc3a2   
231Circumflex 'e'       = 0xc3aa   
232Circumflex 'i'       = 0xc3ae   
233Circumflex 'o'       = 0xc3b4   
234Circumflex 'u'       = 0xc3bb   
235Circumflex ''        = ''       
236Circumflex ''        = ''       
237Circumflex ''        = ''       
238Circumflex ''        = ''       
239Circumflex ''        = ''       
240CircumflexTab = 
241Diaeresis ' '       = '"'      
242Diaeresis 'A'       = 0xc384   
243Diaeresis 'E'       = 0xc38b   
244Diaeresis 'I'       = 0xc38f   
245Diaeresis 'O'       = 0xc396   
246Diaeresis 'U'       = 0xc39c   
247Diaeresis 'Y'       = 0xc5b8   
248Diaeresis 'a'       = 0xc3a4   
249Diaeresis 'e'       = 0xc3ab   
250Diaeresis 'i'       = 0xc3af   
251Diaeresis 'o'       = 0xc3b6   
252Diaeresis 'u'       = 0xc3bc   
253Diaeresis 'y'       = 0xc3bf   
254Diaeresis ''        = ''       
255Diaeresis ''        = ''       
256Diaeresis ''        = ''       
257DiaeresisTab = 
258Tilde ' '       = '~'      
259Tilde 'A'       = 0xc383   
260Tilde 'O'       = 0xc395   
261Tilde 'N'       = 0xc391   
262Tilde 'a'       = 0xc3a3   
263Tilde 'o'       = 0xc3b5   
264Tilde 'n'       = 0xc3b1   
265Tilde ''        = ''       
266Tilde ''        = ''       
267Tilde ''        = ''       
268Tilde ''        = ''       
269Tilde ''        = ''       
270Tilde ''        = ''       
271Tilde ''        = ''       
272Tilde ''        = ''       
273Tilde ''        = ''       
274TildeTab = 
275