Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # Default kernel keymap. This uses 7 modifier combinations. |
| 2 | keymaps 0-2,4-5,8,12 |
| 3 | # Change the above line into |
| 4 | # keymaps 0-2,4-6,8,12 |
| 5 | # in case you want the entries |
| 6 | # altgr control keycode 83 = Boot |
| 7 | # altgr control keycode 111 = Boot |
| 8 | # below. |
| 9 | # |
| 10 | # In fact AltGr is used very little, and one more keymap can |
| 11 | # be saved by mapping AltGr to Alt (and adapting a few entries): |
| 12 | # keycode 100 = Alt |
| 13 | # |
| 14 | keycode 0x15 = grave tilde |
| 15 | alt keycode 0x15 = Escape |
| 16 | control keycode 0x15 = Meta_Escape |
| 17 | keycode 0x16 = one exclam |
| 18 | alt keycode 0x16 = Meta_one |
| 19 | keycode 0x17 = two at at |
| 20 | control keycode 0x17 = nul |
| 21 | shift control keycode 0x17 = nul |
| 22 | alt keycode 0x17 = Meta_two |
| 23 | keycode 0x18 = three numbersign |
| 24 | control keycode 0x18 = Escape |
| 25 | alt keycode 0x18 = Meta_three |
| 26 | keycode 0x19 = four dollar dollar |
| 27 | control keycode 0x19 = Control_backslash |
| 28 | alt keycode 0x19 = Meta_four |
| 29 | keycode 0x1a = five percent |
| 30 | control keycode 0x1a = Control_bracketright |
| 31 | alt keycode 0x1a = Meta_five |
| 32 | keycode 0x1b = six asciicircum |
| 33 | control keycode 0x1b = Control_asciicircum |
| 34 | alt keycode 0x1b = Meta_six |
| 35 | keycode 0x1c = seven ampersand braceleft |
| 36 | control keycode 0x1c = Control_underscore |
| 37 | alt keycode 0x1c = Meta_seven |
| 38 | keycode 0x1d = eight asterisk bracketleft |
| 39 | control keycode 0x1d = Delete |
| 40 | alt keycode 0x1d = Meta_eight |
| 41 | keycode 0x1e = nine parenleft bracketright |
| 42 | alt keycode 0x1e = Meta_nine |
| 43 | keycode 0x1f = zero parenright braceright |
| 44 | alt keycode 0x1f = Meta_zero |
| 45 | keycode 0x20 = minus underscore backslash |
| 46 | control keycode 0x20 = Control_underscore |
| 47 | shift control keycode 0x20 = Control_underscore |
| 48 | alt keycode 0x20 = Meta_minus |
| 49 | keycode 0x21 = equal plus |
| 50 | alt keycode 0x21 = Meta_equal |
| 51 | keycode 0x22 = Delete Delete |
| 52 | control keycode 0x22 = BackSpace |
| 53 | alt keycode 0x22 = Meta_Delete |
| 54 | keycode 0x2a = Tab Tab |
| 55 | alt keycode 0x2a = Meta_Tab |
| 56 | keycode 0x2b = q |
| 57 | keycode 0x2c = w |
| 58 | keycode 0x2d = e |
| 59 | altgr keycode 0x2d = Hex_E |
| 60 | keycode 0x2e = r |
| 61 | keycode 0x2f = t |
| 62 | keycode 0x30 = y |
| 63 | keycode 0x31 = u |
| 64 | keycode 0x32 = i |
| 65 | keycode 0x33 = o |
| 66 | keycode 0x34 = p |
| 67 | keycode 0x35 = bracketleft braceleft |
| 68 | control keycode 0x35 = Escape |
| 69 | alt keycode 0x35 = Meta_bracketleft |
| 70 | keycode 0x36 = bracketright braceright asciitilde |
| 71 | control keycode 0x36 = Control_bracketright |
| 72 | alt keycode 0x36 = Meta_bracketright |
| 73 | keycode 0x37 = Return |
| 74 | alt keycode 0x37 = Meta_Control_m |
| 75 | keycode 0x3f = Control |
| 76 | keycode 0x41 = a |
| 77 | altgr keycode 0x41 = Hex_A |
| 78 | keycode 0x42 = s |
| 79 | keycode 0x43 = d |
| 80 | altgr keycode 0x43 = Hex_D |
| 81 | keycode 0x44 = f |
| 82 | altgr keycode 0x44 = Hex_F |
| 83 | keycode 0x45 = g |
| 84 | keycode 0x46 = h |
| 85 | keycode 0x47 = j |
| 86 | keycode 0x48 = k |
| 87 | keycode 0x49 = l |
| 88 | keycode 0x4a = semicolon colon |
| 89 | alt keycode 0x4a = Meta_semicolon |
| 90 | keycode 0x4b = apostrophe quotedbl |
| 91 | control keycode 0x4b = Control_g |
| 92 | alt keycode 0x4b = Meta_apostrophe |
| 93 | # keycode 41 = grave asciitilde |
| 94 | # control keycode 41 = nul |
| 95 | # alt keycode 41 = Meta_grave |
| 96 | keycode 0x52 = Shift |
| 97 | keycode 0x4c = backslash bar |
| 98 | control keycode 0x4c = Control_backslash |
| 99 | alt keycode 0x4c = Meta_backslash |
| 100 | keycode 0x53 = greater less |
| 101 | keycode 0x54 = z |
| 102 | keycode 0x55 = x |
| 103 | keycode 0x56 = c |
| 104 | altgr keycode 0x56 = Hex_C |
| 105 | keycode 0x57 = v |
| 106 | keycode 0x58 = b |
| 107 | altgr keycode 0x58 = Hex_B |
| 108 | keycode 0x59 = n |
| 109 | keycode 0x5a = m |
| 110 | keycode 0x5b = comma less |
| 111 | alt keycode 0x5b = Meta_comma |
| 112 | keycode 0x5c = period greater |
| 113 | control keycode 0x5c = Compose |
| 114 | alt keycode 0x5c = Meta_period |
| 115 | keycode 0x5d = slash question |
| 116 | control keycode 0x5d = Delete |
| 117 | alt keycode 0x5d = Meta_slash |
| 118 | |
| 119 | keycode 0x67 = Alt |
| 120 | keycode 0x68 = space space |
| 121 | control keycode 0x68 = nul |
| 122 | alt keycode 0x68 = Meta_space |
| 123 | keycode 0x40 = Caps_Lock |
| 124 | keycode 0x01 = F1 |
| 125 | control keycode 0x01 = F1 |
| 126 | alt keycode 0x01 = Console_1 |
| 127 | control alt keycode 0x01 = Console_1 |
| 128 | keycode 0x02 = F2 |
| 129 | control keycode 0x02 = F2 |
| 130 | alt keycode 0x02 = Console_2 |
| 131 | control alt keycode 0x02 = Console_2 |
| 132 | keycode 0x03 = F3 |
| 133 | control keycode 0x03 = F3 |
| 134 | alt keycode 0x03 = Console_3 |
| 135 | control alt keycode 0x03 = Console_3 |
| 136 | keycode 0x04 = F4 |
| 137 | control keycode 0x04 = F4 |
| 138 | alt keycode 0x04 = Console_4 |
| 139 | control alt keycode 0x04 = Console_4 |
| 140 | keycode 0x05 = F5 |
| 141 | control keycode 0x05 = F5 |
| 142 | alt keycode 0x05 = Console_5 |
| 143 | control alt keycode 0x05 = Console_5 |
| 144 | keycode 0x06 = F6 |
| 145 | control keycode 0x06 = F6 |
| 146 | alt keycode 0x06 = Console_6 |
| 147 | control alt keycode 0x06 = Console_6 |
| 148 | keycode 0x07 = F7 |
| 149 | control keycode 0x07 = F7 |
| 150 | alt keycode 0x07 = Console_7 |
| 151 | control alt keycode 0x07 = Console_7 |
| 152 | keycode 0x08 = F8 |
| 153 | control keycode 0x08 = F8 |
| 154 | alt keycode 0x08 = Console_8 |
| 155 | control alt keycode 0x08 = Console_8 |
| 156 | keycode 0x09 = F9 |
| 157 | control keycode 0x09 = F9 |
| 158 | alt keycode 0x09 = Console_9 |
| 159 | control alt keycode 0x09 = Console_9 |
| 160 | keycode 0x0a = F10 |
| 161 | control keycode 0x0a = F10 |
| 162 | alt keycode 0x0a = Console_10 |
| 163 | control alt keycode 0x0a = Console_10 |
| 164 | keycode 0x0b = F11 |
| 165 | control keycode 0x0b = F11 |
| 166 | alt keycode 0x0b = Console_11 |
| 167 | control alt keycode 0x0b = Console_11 |
| 168 | keycode 0x0c = F12 |
| 169 | control keycode 0x0c = F12 |
| 170 | alt keycode 0x0c = Console_12 |
| 171 | control alt keycode 0x0c = Console_12 |
| 172 | keycode 0x0d = F13 |
| 173 | control keycode 0x0d = F13 |
| 174 | alt keycode 0x0d = Console_13 |
| 175 | control alt keycode 0x0d = Console_13 |
| 176 | keycode 0x0e = F14 |
| 177 | control keycode 0x0e = F14 |
| 178 | alt keycode 0x0e = Console_14 |
| 179 | control alt keycode 0x0e = Console_14 |
| 180 | |
| 181 | keycode 0x11 = F17 |
| 182 | control keycode 0x11 = F17 |
| 183 | alt keycode 0x11 = Console_17 |
| 184 | control alt keycode 0x11 = Console_17 |
| 185 | keycode 0x12 = F18 |
| 186 | control keycode 0x12 = F18 |
| 187 | alt keycode 0x12 = Console_18 |
| 188 | control alt keycode 0x12 = Console_18 |
| 189 | keycode 0x13 = F19 |
| 190 | control keycode 0x13 = F19 |
| 191 | alt keycode 0x13 = Console_19 |
| 192 | control alt keycode 0x13 = Console_19 |
| 193 | keycode 0x14 = F20 |
| 194 | control keycode 0x14 = F20 |
| 195 | alt keycode 0x14 = Console_20 |
| 196 | control alt keycode 0x14 = Console_20 |
| 197 | |
| 198 | |
| 199 | keycode 0x3b = KP_7 |
| 200 | alt keycode 0x3b = Ascii_7 |
| 201 | altgr keycode 0x3b = Hex_7 |
| 202 | keycode 0x3c = KP_8 |
| 203 | alt keycode 0x3c = Ascii_8 |
| 204 | altgr keycode 0x3c = Hex_8 |
| 205 | keycode 0x3d = KP_9 |
| 206 | alt keycode 0x3d = Ascii_9 |
| 207 | altgr keycode 0x3d = Hex_9 |
| 208 | keycode 0x3e = KP_Subtract |
| 209 | keycode 0x4e = KP_4 |
| 210 | alt keycode 0x4e = Ascii_4 |
| 211 | altgr keycode 0x4e = Hex_4 |
| 212 | keycode 0x4f = KP_5 |
| 213 | alt keycode 0x4f = Ascii_5 |
| 214 | altgr keycode 0x4f = Hex_5 |
| 215 | keycode 0x50 = KP_6 |
| 216 | alt keycode 0x50 = Ascii_6 |
| 217 | altgr keycode 0x50 = Hex_6 |
| 218 | keycode 0x62 = KP_1 |
| 219 | alt keycode 0x62 = Ascii_1 |
| 220 | altgr keycode 0x62 = Hex_1 |
| 221 | keycode 0x63 = KP_2 |
| 222 | alt keycode 0x63 = Ascii_2 |
| 223 | altgr keycode 0x63 = Hex_2 |
| 224 | keycode 0x64 = KP_3 |
| 225 | alt keycode 0x64 = Ascii_3 |
| 226 | altgr keycode 0x64 = Hex_3 |
| 227 | keycode 0x6b = KP_0 |
| 228 | alt keycode 0x6b = Ascii_0 |
| 229 | altgr keycode 0x6b = Hex_0 |
| 230 | keycode 0x6c = KP_Period |
| 231 | # altgr control keycode 0x6c = Boot |
| 232 | control alt keycode 0x6c = Boot |
| 233 | keycode 0x65 = KP_Enter |
| 234 | |
| 235 | keycode 0x3f = Control |
| 236 | |
| 237 | # keycode 100 = AltGr |
| 238 | |
| 239 | keycode 0x23 = Find |
| 240 | keycode 0x4d = Up |
| 241 | keycode 0x39 = Prior |
| 242 | shift keycode 0x39 = Scroll_Backward |
| 243 | keycode 0x5f = Left |
| 244 | alt keycode 0x5f = Decr_Console |
| 245 | keycode 0x61 = Right |
| 246 | alt keycode 0x61 = Incr_Console |
| 247 | keycode 0x38 = Select |
| 248 | keycode 0x60 = Down |
| 249 | keycode 0x3a = Next |
| 250 | shift keycode 0x3a = Scroll_Forward |
| 251 | keycode 0x24 = Insert |
| 252 | keycode 0x25 = Remove |
| 253 | # altgr control keycode 0x25 = Boot |
| 254 | control alt keycode 0x25 = Boot |
| 255 | |
| 256 | keycode 0x0f = Help Show_Memory Show_Registers |
| 257 | control keycode 0x0f = Show_State |
| 258 | |
| 259 | keycode 0x10 = Do |
| 260 | |
| 261 | string F1 = "\033[[A" |
| 262 | string F2 = "\033[[B" |
| 263 | string F3 = "\033[[C" |
| 264 | string F4 = "\033[[D" |
| 265 | string F5 = "\033[[E" |
| 266 | string F6 = "\033[17~" |
| 267 | string F7 = "\033[18~" |
| 268 | string F8 = "\033[19~" |
| 269 | string F9 = "\033[20~" |
| 270 | string F10 = "\033[21~" |
| 271 | string F11 = "\033[23~" |
| 272 | string F12 = "\033[24~" |
| 273 | string F13 = "\033[25~" |
| 274 | string F14 = "\033[26~" |
| 275 | string F15 = "\033[28~" |
| 276 | string F16 = "\033[29~" |
| 277 | string F17 = "\033[31~" |
| 278 | string F18 = "\033[32~" |
| 279 | string F19 = "\033[33~" |
| 280 | string F20 = "\033[34~" |
| 281 | string Find = "\033[1~" |
| 282 | string Insert = "\033[2~" |
| 283 | string Remove = "\033[3~" |
| 284 | string Select = "\033[4~" |
| 285 | string Prior = "\033[5~" |
| 286 | string Next = "\033[6~" |
| 287 | string Macro = "\033[M" |
| 288 | string Pause = "\033[P" |
| 289 | compose '`' 'A' to 'À' |
| 290 | compose '`' 'a' to 'à' |
| 291 | compose '\'' 'A' to 'Á' |
| 292 | compose '\'' 'a' to 'á' |
| 293 | compose '^' 'A' to 'Â' |
| 294 | compose '^' 'a' to 'â' |
| 295 | compose '~' 'A' to 'Ã' |
| 296 | compose '~' 'a' to 'ã' |
| 297 | compose '"' 'A' to 'Ä' |
| 298 | compose '"' 'a' to 'ä' |
| 299 | compose 'O' 'A' to 'Å' |
| 300 | compose 'o' 'a' to 'å' |
| 301 | compose '0' 'A' to 'Å' |
| 302 | compose '0' 'a' to 'å' |
| 303 | compose 'A' 'A' to 'Å' |
| 304 | compose 'a' 'a' to 'å' |
| 305 | compose 'A' 'E' to 'Æ' |
| 306 | compose 'a' 'e' to 'æ' |
| 307 | compose ',' 'C' to 'Ç' |
| 308 | compose ',' 'c' to 'ç' |
| 309 | compose '`' 'E' to 'È' |
| 310 | compose '`' 'e' to 'è' |
| 311 | compose '\'' 'E' to 'É' |
| 312 | compose '\'' 'e' to 'é' |
| 313 | compose '^' 'E' to 'Ê' |
| 314 | compose '^' 'e' to 'ê' |
| 315 | compose '"' 'E' to 'Ë' |
| 316 | compose '"' 'e' to 'ë' |
| 317 | compose '`' 'I' to 'Ì' |
| 318 | compose '`' 'i' to 'ì' |
| 319 | compose '\'' 'I' to 'Í' |
| 320 | compose '\'' 'i' to 'í' |
| 321 | compose '^' 'I' to 'Î' |
| 322 | compose '^' 'i' to 'î' |
| 323 | compose '"' 'I' to 'Ï' |
| 324 | compose '"' 'i' to 'ï' |
| 325 | compose '-' 'D' to 'Ð' |
| 326 | compose '-' 'd' to 'ð' |
| 327 | compose '~' 'N' to 'Ñ' |
| 328 | compose '~' 'n' to 'ñ' |
| 329 | compose '`' 'O' to 'Ò' |
| 330 | compose '`' 'o' to 'ò' |
| 331 | compose '\'' 'O' to 'Ó' |
| 332 | compose '\'' 'o' to 'ó' |
| 333 | compose '^' 'O' to 'Ô' |
| 334 | compose '^' 'o' to 'ô' |
| 335 | compose '~' 'O' to 'Õ' |
| 336 | compose '~' 'o' to 'õ' |
| 337 | compose '"' 'O' to 'Ö' |
| 338 | compose '"' 'o' to 'ö' |
| 339 | compose '/' 'O' to 'Ø' |
| 340 | compose '/' 'o' to 'ø' |
| 341 | compose '`' 'U' to 'Ù' |
| 342 | compose '`' 'u' to 'ù' |
| 343 | compose '\'' 'U' to 'Ú' |
| 344 | compose '\'' 'u' to 'ú' |
| 345 | compose '^' 'U' to 'Û' |
| 346 | compose '^' 'u' to 'û' |
| 347 | compose '"' 'U' to 'Ü' |
| 348 | compose '"' 'u' to 'ü' |
| 349 | compose '\'' 'Y' to 'Ý' |
| 350 | compose '\'' 'y' to 'ý' |
| 351 | compose 'T' 'H' to 'Þ' |
| 352 | compose 't' 'h' to 'þ' |
| 353 | compose 's' 's' to 'ß' |
| 354 | compose '"' 'y' to 'ÿ' |
| 355 | compose 's' 'z' to 'ß' |
| 356 | compose 'i' 'j' to 'ÿ' |