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 32Version = 3 33CapsLock = 0x3b 34ScrollLock = 0x0f 35NumLock = 0x22 36LShift = 0x4b 37RShift = 0x56 38LCommand = 0x5d 39RCommand = 0x67 40LControl = 0x5c 41RControl = 0x60 42LOption = 0x66 43ROption = 0x5f 44Menu = 0x68 45# 46# Lock settings 47# To set NumLock, do the following: 48# LockSettings = NumLock 49# 50# To set everything, do the following: 51# LockSettings = CapsLock NumLock ScrollLock 52# 53LockSettings = 54# Legend: 55# n = Normal 56# s = Shift 57# c = Control 58# C = CapsLock 59# o = Option 60# Key n s c o os C Cs Co Cos 61Key 0x00 = '' '' '' '' '' '' '' '' '' 62Key 0x01 = 0x1b 0x1b 0x1b 0x1b 0x1b 0x1b 0x1b 0x1b 0x1b 63Key 0x02 = 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 64Key 0x03 = 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 65Key 0x04 = 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 66Key 0x05 = 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 67Key 0x06 = 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 68Key 0x07 = 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 69Key 0x08 = 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 70Key 0x09 = 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 71Key 0x0a = 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 72Key 0x0b = 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 73Key 0x0c = 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 74Key 0x0d = 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 75Key 0x0e = 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 76Key 0x0f = 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 77Key 0x10 = 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0x10 78Key 0x11 = 0xd191 0xd081 '' '~' 0xe28988 0xd081 0xd191 '~' 0xe28988 79Key 0x12 = '1' '!' '' 0xe2859f '|' '1' '!' 0xe2859f '|' 80Key 0x13 = '2' '"' '' '@' 0xc2b2 '2' '"' '@' 0xc2b2 81Key 0x14 = '3' 0xe28496 '' '#' 0xc2b3 '3' 0xe28496 '#' 0xc2b3 82Key 0x15 = '4' ';' '' '$' 0xe281b4 '4' ';' '$' 0xe281b4 83Key 0x16 = '5' '%' '' 0xc2a7 0xe280b0 '5' '%' 0xc2a7 0xe280b0 84Key 0x17 = '6' ':' 0x1e '^' 0xc2ac '6' ':' '^' 0xc2ac 85Key 0x18 = '7' '?' '' '&' ' ' '7' '?' '&' ' ' 86Key 0x19 = '8' '*' '' 0xe2889e 0xe28899 '8' '*' 0xe2889e 0xe28899 87Key 0x1a = '9' '(' '' '[' 0xe28098 '9' '(' '[' 0xe28098 88Key 0x1b = '0' ')' '' ']' 0xe28099 '0' ')' ']' 0xe28099 89Key 0x1c = '-' '_' 0x1f 0xe28094 0xe28093 '-' '_' 0xe28094 0xe28093 90Key 0x1d = '=' '+' '' 0xe289a1 0xc2b1 '=' '+' 0xe289a1 0xc2b1 91Key 0x1e = 0x08 0x08 0x08 0x08 0x08 0x08 0x08 0x08 0x08 92Key 0x1f = 0x05 0x05 0x05 0x05 0x05 0x05 0x05 0x05 0x05 93Key 0x20 = 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 94Key 0x21 = 0x0b 0x0b 0x0b 0x0b 0x0b 0x0b 0x0b 0x0b 0x0b 95Key 0x22 = '' '' '' '' '' '' '' '' '' 96Key 0x23 = '/' '/' '/' '/' '/' '/' '/' '/' '/' 97Key 0x24 = '*' '*' '*' '*' '*' '*' '*' '*' '*' 98Key 0x25 = '-' '-' '-' '-' '-' '-' '-' '-' '-' 99Key 0x26 = 0x09 0x09 0x09 0x09 0x09 0x09 0x09 0x09 0x09 100Key 0x27 = 0xd0b9 0xd099 0x11 0xe2889a 0xe289a0 0xd099 0xd0b9 0xe2889a 0xe289a0 101Key 0x28 = 0xd186 0xd0a6 0x17 ' ' ' ' 0xd0a6 0xd186 ' ' ' ' 102Key 0x29 = 0xd183 0xd0a3 0x05 0xe282ac ' ' 0xd0a3 0xd183 0xe282ac '' 103Key 0x2a = 0xd0ba 0xd09a 0x12 0xc2ae 0xe284a2 0xd09a 0xd0ba 0xc2ae 0xe284a2 104Key 0x2b = 0xd0b5 0xd095 0x14 0xd1a3 0xd1a2 0xd095 0xd0b5 0xd1a2 0xd1a3 105Key 0x2c = 0xd0bd 0xd09d 0x19 0xc2a5 '' 0xd09d 0xd0bd 0xc2a5 ' ' 106Key 0x2d = 0xd0b3 0xd093 0x15 0xe288aa 0xe288a8 0xd093 0xd0b3 0xe288aa 0xe288a8 107Key 0x2e = 0xd188 0xd0a8 0x09 0xe282aa '' 0xd0a8 0xd188 0xe282aa '' 108Key 0x2f = 0xd189 0xd0a9 0x0f 0xc2b0 0xe284a6 0xd0a9 0xd189 0xc2b0 0xe284a6 109Key 0x30 = 0xd0b7 0xd097 0x10 0xcf80 0xe2888f 0xd097 0xd0b7 0xcf80 0xe2888f 110Key 0x31 = 0xd185 0xd0a5 0x1b 0xc2ab '{' 0xd0a5 0xd185 0xc2ab '{' 111Key 0x32 = 0xd18a 0xd0aa 0x1d 0xc2bb '}' 0xd0aa 0xd18a 0xc2bb '}' 112Key 0x33 = '\\' '/' 0x1c 0xd1b5 0xd1b4 '\\' '/' 0xd1b4 0xd1b5 113Key 0x34 = 0x7f 0x7f 0x7f 0x7f 0x7f 0x7f 0x7f 0x7f 0x7f 114Key 0x35 = 0x04 0x04 0x04 0x04 0x04 0x04 0x04 0x04 0x04 115Key 0x36 = 0x0c 0x0c 0x0c 0x0c 0x0c 0x0c 0x0c 0x0c 0x0c 116Key 0x37 = 0x01 '7' 0x01 0x01 '7' 0x01 '7' 0x01 '7' 117Key 0x38 = 0x1e '8' 0x1e 0x1e '8' 0x1e '8' 0x1e '8' 118Key 0x39 = 0x0b '9' 0x0b 0x0b '9' 0x0b '9' 0x0b '9' 119Key 0x3a = '+' '+' '+' '+' '+' '+' '+' '+' '+' 120Key 0x3b = '' '' '' '' '' '' '' '' '' 121Key 0x3c = 0xd184 0xd0a4 0x01 0xd1b3 0xd1b2 0xd0a4 0xd184 0xd1b2 0xd1b3 122Key 0x3d = 0xd18b 0xd0ab 0x13 0xcf82 0xe28891 0xd0ab 0xd18b 0xcf82 0xe28891 123Key 0x3e = 0xd0b2 0xd092 0x04 0xe28882 0xe28886 0xd092 0xd0b2 0xe28882 0xe28886 124Key 0x3f = 0xd0b0 0xd090 0x06 0xc2a3 '' 0xd090 0xd0b0 0xc2a3 '' 125Key 0x40 = 0xd0bf 0xd09f 0x07 0xe282b4 ' ' 0xd09f 0xd0bf 0xe282b4 ' ' 126Key 0x41 = 0xd180 0xd0a0 0x08 0xe282bd ' ' 0xd0a0 0xe282bd 0xd0a0 ' ' 127Key 0x42 = 0xd0be 0xd09e 0x0a 0xe2809e ' ' 0xd09e 0xd0be 0xe2809e ' ' 128Key 0x43 = 0xd0bb 0xd09b 0x0b 0xe2809d ' ' 0xd09b 0xd0bb 0xe2809d ' ' 129Key 0x44 = 0xd0b4 0xd094 0x0c 0xe2809c 0xe28c80 0xd094 0xd0b4 0xe2809c 0xe28c80 130Key 0x45 = 0xd0b6 0xd096 '' 0xe280a6 ' ' 0xd096 0xd0b6 0xe280a6 ' ' 131Key 0x46 = 0xd18d 0xd0ad '' 0xe280b2 0xe280b3 0xd0ad 0xd18d 0xe280b2 0xe280b3 132Key 0x47 = 0x0a 0x0a 0x0a 0x0a 0xc2ad 0x0a 0x0a 0x0a 0xc2ad 133Key 0x48 = 0x1c '4' 0x1c 0x1c '4' 0x1c '4' 0x1c '4' 134Key 0x49 = '' '5' '' '' '5' '' '5' '' '5' 135Key 0x4a = 0x1d '6' 0x1d 0x1d '6' 0x1d '6' 0x1d '6' 136Key 0x4b = '' '' '' '' '' '' '' '' '' 137Key 0x4c = 0xd18f 0xd0af 0x1a 0xceb6 ' ' 0xd0af 0xd18f 0xceb6 ' ' 138Key 0x4d = 0xd187 0xd0a7 0x18 0xc397 0xe28a97 0xd0a7 0xd187 0xc397 0xe28a97 139Key 0x4e = 0xd181 0xd0a1 0x03 0xc2a9 0xc2a2 0xd0a1 0xd181 0xc2a9 0xc2a2 140Key 0x4f = 0xd0bc 0xd09c 0x16 0xcebd '' 0xd09c 0xd0bc 0xcebd '' 141Key 0x50 = 0xd0b8 0xd098 0x02 0xd196 0xd086 0xd098 0xd0b8 0xd086 0xd196 142Key 0x51 = 0xd182 0xd0a2 0x0e 0xe288a9 0xe288a7 0xd0a2 0xd182 0xe288a9 0xe288a7 143Key 0x52 = 0xd18c 0xd0ac 0x0d 0xc2b5 0xe28892 0xd0ac 0xd18c 0xc2b5 0xe28892 144Key 0x53 = 0xd0b1 0xd091 '' 0xe289a4 '<' 0xd091 0xd0b1 0xe289a4 '<' 145Key 0x54 = 0xd18e 0xd0ae '' 0xe289a5 '>' 0xd0ae 0xd18e 0xe289a5 '>' 146Key 0x55 = '.' ',' '' 0xcc81 0xc3b7 '.' ',' 0xcc81 0xc3b7 147Key 0x56 = '' '' '' '' '' '' '' '' '' 148Key 0x57 = 0x1e 0x1e 0x1e 0xe28691 0xe296b2 0x1e 0x1e 0xe28691 0xe296b2 149Key 0x58 = 0x04 '1' 0x04 0x04 '1' 0x04 '1' 0x04 '1' 150Key 0x59 = 0x1f '2' 0x1f 0x1f '2' 0x1f '2' 0x1f '2' 151Key 0x5a = 0x0c '3' 0x0c 0x0c '3' 0x0c '3' 0x0c '3' 152Key 0x5b = 0x0a 0x0a 0x0a 0x0a 0x0a 0x0a 0x0a 0x0a 0x0a 153Key 0x5c = '' '' '' '' '' '' '' '' '' 154Key 0x5d = '' '' '' '' '' '' '' '' '' 155Key 0x5e = ' ' ' ' '' 0xc2a0 0xe28089 ' ' ' ' 0xc2a0 0xe28089 156Key 0x5f = '' '' '' '' '' '' '' '' '' 157Key 0x60 = '' '' '' '' '' '' '' '' '' 158Key 0x61 = 0x1c 0x1c 0x1c 0xe28690 0xe29784 0x1c 0x1c 0xe28690 0xe29784 159Key 0x62 = 0x1f 0x1f 0x1f 0xe28693 0xe296bc 0x1f 0x1f 0xe28693 0xe296bc 160Key 0x63 = 0x1d 0x1d 0x1d 0xe28692 0xe296ba 0x1d 0x1d 0xe28692 0xe296ba 161Key 0x64 = 0x05 '0' 0x05 0x05 '0' 0x05 '0' 0x05 '0' 162Key 0x65 = 0x7f ',' 0x7f 0x7f ',' 0x7f ',' 0x7f ',' 163Key 0x66 = '' '' '' '' '' '' '' '' '' 164Key 0x67 = '' '' '' '' '' '' '' '' '' 165Key 0x68 = '' '' '' '' '' '' '' '' '' 166Key 0x69 = '\\' '/' '' ' ' ' ' '\\' '/' ' ' ' ' 167Key 0x6a = '' '' '' '' '' '' '' '' '' 168Key 0x6b = '' '' '' '' '' '' '' '' '' 169Key 0x6c = '' '' '' '' '' '' '' '' '' 170Key 0x6d = '' '' '' '' '' '' '' '' '' 171Key 0x6e = '' '' '' '' '' '' '' '' '' 172Key 0x6f = '' '' '' '' '' '' '' '' '' 173Key 0x70 = '' '' '' '' '' '' '' '' '' 174Key 0x71 = '' '' '' '' '' '' '' '' '' 175Key 0x72 = '' '' '' '' '' '' '' '' '' 176Key 0x73 = '' '' '' '' '' '' '' '' '' 177Key 0x74 = '' '' '' '' '' '' '' '' '' 178Key 0x75 = '' '' '' '' '' '' '' '' '' 179Key 0x76 = '' '' '' '' '' '' '' '' '' 180Key 0x77 = '' '' '' '' '' '' '' '' '' 181Key 0x78 = '' '' '' '' '' '' '' '' '' 182Key 0x79 = '' '' '' '' '' '' '' '' '' 183Key 0x7a = '' '' '' '' '' '' '' '' '' 184Key 0x7b = '' '' '' '' '' '' '' '' '' 185Key 0x7c = '' '' '' '' '' '' '' '' '' 186Key 0x7d = '' '' '' '' '' '' '' '' '' 187Key 0x7e = '' '' '' '' '' '' '' '' '' 188Key 0x7f = '' '' '' '' '' '' '' '' '' 189Acute ' ' = 0xc2b4 190Acute 'A' = 0xc381 191Acute 'E' = 0xc389 192Acute 'I' = 0xc38d 193Acute 'O' = 0xc393 194Acute 'U' = 0xc39a 195Acute 'Y' = 0xc39d 196Acute 'a' = 0xc3a1 197Acute 'e' = 0xc3a9 198Acute 'i' = 0xc3ad 199Acute 'o' = 0xc3b3 200Acute 'u' = 0xc3ba 201Acute 'y' = 0xc3bd 202AcuteTab = 203Grave ' ' = 0xe2889a 204Grave '2' = 0xe2889a 205Grave '3' = 0xe2889b 206Grave '4' = 0xe2889c 207GraveTab = Option 208Circumflex ' ' = 0xe2859f 209Circumflex '2' = 0xc2bd 210Circumflex '3' = 0xe28593 211Circumflex '4' = 0xc2bc 212Circumflex '5' = 0xe28595 213Circumflex '6' = 0xe28599 214Circumflex '8' = 0xe2859b 215Circumflex '9' = 0xe28594 216Circumflex '0' = 0xc2be 217CircumflexTab = Option 218Diaeresis ' ' = 0xd1b5 219Diaeresis 0xd184 = 0xceb1 220Diaeresis 0xd0b8 = 0xceb2 221Diaeresis 0xd0bf = 0xceb3 222Diaeresis 0xd0b2 = 0xceb4 223Diaeresis 0xd183 = 0xceb5 224Diaeresis 0xd188 = 0xceb7 225Diaeresis 0xd0b4 = 0xcebb 226Diaeresis 0xd0bb = 0xcebe 227Diaeresis 0xd0ba = 0xcf81 228Diaeresis 0xd18b = 0xcf83 229Diaeresis 0xd0b5 = 0xcf84 230Diaeresis 0xd0b0 = 0xcf86 231Diaeresis 0xd187 = 0xcf87 232Diaeresis 0xd0b7 = 0xcf88 233Diaeresis 0xd189 = 0xcf89 234DiaeresisTab = Option 235Tilde ' ' = '~' 236Tilde 'A' = 0xc383 237Tilde 'O' = 0xc395 238Tilde 'N' = 0xc391 239Tilde 'a' = 0xc3a3 240Tilde 'o' = 0xc3b5 241Tilde 'n' = 0xc3ff 242TildeTab = 243