Jeff Brown | 497a92c | 2010-09-12 17:55:08 -0700 | [diff] [blame] | 1 | # Copyright (C) 2010 The Android Open Source Project |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
| 15 | # |
| 16 | # Generic key character map for full alphabetic US English PC style external keyboards. |
| 17 | # |
| 18 | # This file is intentionally very generic and is intended to support a broad rang of keyboards. |
| 19 | # Do not edit the generic key character map to support a specific keyboard; instead, create |
| 20 | # a new key character map file with the required keyboard configuration. |
| 21 | # |
| 22 | |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame^] | 23 | type FULL |
Jeff Brown | 497a92c | 2010-09-12 17:55:08 -0700 | [diff] [blame] | 24 | |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame^] | 25 | key A { |
| 26 | label: 'A' |
| 27 | base: 'a' |
| 28 | shift, capslock: 'A' |
| 29 | ctrl, alt, meta: none |
| 30 | } |
Jeff Brown | 497a92c | 2010-09-12 17:55:08 -0700 | [diff] [blame] | 31 | |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame^] | 32 | key B { |
| 33 | label: 'B' |
| 34 | base: 'b' |
| 35 | shift, capslock: 'B' |
| 36 | ctrl, alt, meta: none |
| 37 | } |
Jeff Brown | 497a92c | 2010-09-12 17:55:08 -0700 | [diff] [blame] | 38 | |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame^] | 39 | key C { |
| 40 | label: 'C' |
| 41 | base: 'c' |
| 42 | shift, capslock: 'C' |
| 43 | ctrl, alt, meta: none |
| 44 | } |
Jeff Brown | 497a92c | 2010-09-12 17:55:08 -0700 | [diff] [blame] | 45 | |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame^] | 46 | key D { |
| 47 | label: 'D' |
| 48 | base: 'd' |
| 49 | shift, capslock: 'D' |
| 50 | ctrl, alt, meta: none |
| 51 | } |
Jeff Brown | 497a92c | 2010-09-12 17:55:08 -0700 | [diff] [blame] | 52 | |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame^] | 53 | key E { |
| 54 | label: 'E' |
| 55 | base: 'e' |
| 56 | shift, capslock: 'E' |
| 57 | ctrl, alt, meta: none |
| 58 | } |
Jeff Brown | 497a92c | 2010-09-12 17:55:08 -0700 | [diff] [blame] | 59 | |
Jeff Brown | 6b53e8d | 2010-11-10 16:03:06 -0800 | [diff] [blame^] | 60 | key F { |
| 61 | label: 'F' |
| 62 | base: 'f' |
| 63 | shift, capslock: 'F' |
| 64 | ctrl, alt, meta: none |
| 65 | } |
| 66 | |
| 67 | key G { |
| 68 | label: 'G' |
| 69 | base: 'g' |
| 70 | shift, capslock: 'G' |
| 71 | ctrl, alt, meta: none |
| 72 | } |
| 73 | |
| 74 | key H { |
| 75 | label: 'H' |
| 76 | base: 'h' |
| 77 | shift, capslock: 'H' |
| 78 | ctrl, alt, meta: none |
| 79 | } |
| 80 | |
| 81 | key I { |
| 82 | label: 'I' |
| 83 | base: 'i' |
| 84 | shift, capslock: 'I' |
| 85 | ctrl, alt, meta: none |
| 86 | } |
| 87 | |
| 88 | key J { |
| 89 | label: 'J' |
| 90 | base: 'j' |
| 91 | shift, capslock: 'J' |
| 92 | ctrl, alt, meta: none |
| 93 | } |
| 94 | |
| 95 | key K { |
| 96 | label: 'K' |
| 97 | base: 'k' |
| 98 | shift, capslock: 'K' |
| 99 | ctrl, alt, meta: none |
| 100 | } |
| 101 | |
| 102 | key L { |
| 103 | label: 'L' |
| 104 | base: 'l' |
| 105 | shift, capslock: 'L' |
| 106 | ctrl, alt, meta: none |
| 107 | } |
| 108 | |
| 109 | key M { |
| 110 | label: 'M' |
| 111 | base: 'm' |
| 112 | shift, capslock: 'M' |
| 113 | ctrl, alt, meta: none |
| 114 | } |
| 115 | |
| 116 | key N { |
| 117 | label: 'N' |
| 118 | base: 'n' |
| 119 | shift, capslock: 'N' |
| 120 | ctrl, alt, meta: none |
| 121 | } |
| 122 | |
| 123 | key O { |
| 124 | label: 'O' |
| 125 | base: 'o' |
| 126 | shift, capslock: 'O' |
| 127 | ctrl, alt, meta: none |
| 128 | } |
| 129 | |
| 130 | key P { |
| 131 | label: 'P' |
| 132 | base: 'p' |
| 133 | shift, capslock: 'P' |
| 134 | ctrl, alt, meta: none |
| 135 | } |
| 136 | |
| 137 | key Q { |
| 138 | label: 'Q' |
| 139 | base: 'q' |
| 140 | shift, capslock: 'Q' |
| 141 | ctrl, alt, meta: none |
| 142 | } |
| 143 | |
| 144 | key R { |
| 145 | label: 'R' |
| 146 | base: 'r' |
| 147 | shift, capslock: 'R' |
| 148 | ctrl, alt, meta: none |
| 149 | } |
| 150 | |
| 151 | key S { |
| 152 | label: 'S' |
| 153 | base: 's' |
| 154 | shift, capslock: 'S' |
| 155 | ctrl, alt, meta: none |
| 156 | } |
| 157 | |
| 158 | key T { |
| 159 | label: 'T' |
| 160 | base: 't' |
| 161 | shift, capslock: 'T' |
| 162 | ctrl, alt, meta: none |
| 163 | } |
| 164 | |
| 165 | key U { |
| 166 | label: 'U' |
| 167 | base: 'u' |
| 168 | shift, capslock: 'U' |
| 169 | ctrl, alt, meta: none |
| 170 | } |
| 171 | |
| 172 | key V { |
| 173 | label: 'V' |
| 174 | base: 'v' |
| 175 | shift, capslock: 'V' |
| 176 | ctrl, alt, meta: none |
| 177 | } |
| 178 | |
| 179 | key W { |
| 180 | label: 'W' |
| 181 | base: 'w' |
| 182 | shift, capslock: 'W' |
| 183 | ctrl, alt, meta: none |
| 184 | } |
| 185 | |
| 186 | key X { |
| 187 | label: 'X' |
| 188 | base: 'x' |
| 189 | shift, capslock: 'X' |
| 190 | ctrl, alt, meta: none |
| 191 | } |
| 192 | |
| 193 | key Y { |
| 194 | label: 'Y' |
| 195 | base: 'y' |
| 196 | shift, capslock: 'Y' |
| 197 | ctrl, alt, meta: none |
| 198 | } |
| 199 | |
| 200 | key Z { |
| 201 | label: 'Z' |
| 202 | base: 'z' |
| 203 | shift, capslock: 'Z' |
| 204 | ctrl, alt, meta: none |
| 205 | } |
| 206 | |
| 207 | key 0 { |
| 208 | label, number: '0' |
| 209 | base: '0' |
| 210 | shift: ')' |
| 211 | ctrl, alt, meta: none |
| 212 | } |
| 213 | |
| 214 | key 1 { |
| 215 | label, number: '1' |
| 216 | base: '1' |
| 217 | shift: '!' |
| 218 | ctrl, alt, meta: none |
| 219 | } |
| 220 | |
| 221 | key 2 { |
| 222 | label, number: '2' |
| 223 | base: '2' |
| 224 | shift: '@' |
| 225 | ctrl, alt, meta: none |
| 226 | } |
| 227 | |
| 228 | key 3 { |
| 229 | label, number: '3' |
| 230 | base: '3' |
| 231 | shift: '#' |
| 232 | ctrl, alt, meta: none |
| 233 | } |
| 234 | |
| 235 | key 4 { |
| 236 | label, number: '4' |
| 237 | base: '4' |
| 238 | shift: '$' |
| 239 | ctrl, alt, meta: none |
| 240 | } |
| 241 | |
| 242 | key 5 { |
| 243 | label, number: '5' |
| 244 | base: '5' |
| 245 | shift: '%' |
| 246 | ctrl, alt, meta: none |
| 247 | } |
| 248 | |
| 249 | key 6 { |
| 250 | label, number: '6' |
| 251 | base: '6' |
| 252 | shift: '^' |
| 253 | ctrl, alt, meta: none |
| 254 | } |
| 255 | |
| 256 | key 7 { |
| 257 | label, number: '7' |
| 258 | base: '7' |
| 259 | shift: '&' |
| 260 | ctrl, alt, meta: none |
| 261 | } |
| 262 | |
| 263 | key 8 { |
| 264 | label, number: '8' |
| 265 | base: '8' |
| 266 | shift: '*' |
| 267 | ctrl, alt, meta: none |
| 268 | } |
| 269 | |
| 270 | key 9 { |
| 271 | label, number: '9' |
| 272 | base: '9' |
| 273 | shift: '(' |
| 274 | ctrl, alt, meta: none |
| 275 | } |
| 276 | |
| 277 | key SPACE { |
| 278 | label: ' ' |
| 279 | base: ' ' |
| 280 | ctrl, alt, meta: none |
| 281 | } |
| 282 | |
| 283 | key ENTER { |
| 284 | label: '\n' |
| 285 | base: '\n' |
| 286 | ctrl, alt, meta: none |
| 287 | } |
| 288 | |
| 289 | key TAB { |
| 290 | label: '\t' |
| 291 | base: '\t' |
| 292 | ctrl, alt, meta: none |
| 293 | } |
| 294 | |
| 295 | key COMMA { |
| 296 | label, number: ',' |
| 297 | base: ',' |
| 298 | shift: '<' |
| 299 | ctrl, alt, meta: none |
| 300 | } |
| 301 | |
| 302 | key PERIOD { |
| 303 | label, number: '.' |
| 304 | base: '.' |
| 305 | shift: '>' |
| 306 | ctrl, alt, meta: none |
| 307 | } |
| 308 | |
| 309 | key SLASH { |
| 310 | label, number: '/' |
| 311 | base: '/' |
| 312 | shift: '?' |
| 313 | ctrl, alt, meta: none |
| 314 | } |
| 315 | |
| 316 | key GRAVE { |
| 317 | label, number: '`' |
| 318 | base: '`' |
| 319 | shift: '~' |
| 320 | ctrl, alt, meta: none |
| 321 | } |
| 322 | |
| 323 | key MINUS { |
| 324 | label, number: '-' |
| 325 | base: '-' |
| 326 | shift: '_' |
| 327 | ctrl, alt, meta: none |
| 328 | } |
| 329 | |
| 330 | key EQUALS { |
| 331 | label, number: '=' |
| 332 | base: '=' |
| 333 | shift: '+' |
| 334 | ctrl, alt, meta: none |
| 335 | } |
| 336 | |
| 337 | key LEFT_BRACKET { |
| 338 | label, number: '[' |
| 339 | base: '[' |
| 340 | shift: '{' |
| 341 | ctrl, alt, meta: none |
| 342 | } |
| 343 | |
| 344 | key RIGHT_BRACKET { |
| 345 | label, number: ']' |
| 346 | base: ']' |
| 347 | shift: '}' |
| 348 | ctrl, alt, meta: none |
| 349 | } |
| 350 | |
| 351 | key BACKSLASH { |
| 352 | label, number: '\\' |
| 353 | base: '\\' |
| 354 | shift: '|' |
| 355 | ctrl, alt, meta: none |
| 356 | } |
| 357 | |
| 358 | key SEMICOLON { |
| 359 | label, number: ';' |
| 360 | base: ';' |
| 361 | shift: ':' |
| 362 | ctrl, alt, meta: none |
| 363 | } |
| 364 | |
| 365 | key APOSTROPHE { |
| 366 | label, number: '\'' |
| 367 | base: '\'' |
| 368 | shift: '"' |
| 369 | ctrl, alt, meta: none |
| 370 | } |
| 371 | |
| 372 | key NUMPAD_0 { |
| 373 | label, number: '0' |
| 374 | base: fallback INSERT |
| 375 | numlock: '0' |
| 376 | ctrl, alt, meta: none |
| 377 | } |
| 378 | |
| 379 | key NUMPAD_1 { |
| 380 | label, number: '1' |
| 381 | base: fallback MOVE_END |
| 382 | numlock: '1' |
| 383 | ctrl, alt, meta: none |
| 384 | } |
| 385 | |
| 386 | key NUMPAD_2 { |
| 387 | label, number: '2' |
| 388 | base: fallback DPAD_DOWN |
| 389 | numlock: '2' |
| 390 | ctrl, alt, meta: none |
| 391 | } |
| 392 | |
| 393 | key NUMPAD_3 { |
| 394 | label, number: '3' |
| 395 | base: fallback PAGE_DOWN |
| 396 | numlock: '3' |
| 397 | ctrl, alt, meta: none |
| 398 | } |
| 399 | |
| 400 | key NUMPAD_4 { |
| 401 | label, number: '4' |
| 402 | base: fallback DPAD_LEFT |
| 403 | numlock: '4' |
| 404 | ctrl, alt, meta: none |
| 405 | } |
| 406 | |
| 407 | key NUMPAD_5 { |
| 408 | label, number: '5' |
| 409 | base: fallback DPAD_CENTER |
| 410 | numlock: '5' |
| 411 | ctrl, alt, meta: none |
| 412 | } |
| 413 | |
| 414 | key NUMPAD_6 { |
| 415 | label, number: '6' |
| 416 | base: fallback DPAD_RIGHT |
| 417 | numlock: '6' |
| 418 | ctrl, alt, meta: none |
| 419 | } |
| 420 | |
| 421 | key NUMPAD_7 { |
| 422 | label, number: '7' |
| 423 | base: fallback MOVE_HOME |
| 424 | numlock: '7' |
| 425 | ctrl, alt, meta: none |
| 426 | } |
| 427 | |
| 428 | key NUMPAD_8 { |
| 429 | label, number: '8' |
| 430 | base: fallback DPAD_UP |
| 431 | numlock: '8' |
| 432 | ctrl, alt, meta: none |
| 433 | } |
| 434 | |
| 435 | key NUMPAD_9 { |
| 436 | label, number: '9' |
| 437 | base: fallback PAGE_UP |
| 438 | numlock: '9' |
| 439 | ctrl, alt, meta: none |
| 440 | } |
| 441 | |
| 442 | key NUMPAD_LEFT_PAREN { |
| 443 | label, number: '(' |
| 444 | base: '(' |
| 445 | ctrl, alt, meta: none |
| 446 | } |
| 447 | |
| 448 | key NUMPAD_RIGHT_PAREN { |
| 449 | label, number: ')' |
| 450 | base: ')' |
| 451 | ctrl, alt, meta: none |
| 452 | } |
| 453 | |
| 454 | key NUMPAD_DIVIDE { |
| 455 | label, number: '/' |
| 456 | base: '/' |
| 457 | ctrl, alt, meta: none |
| 458 | } |
| 459 | |
| 460 | key NUMPAD_MULTIPLY { |
| 461 | label, number: '*' |
| 462 | base: '*' |
| 463 | ctrl, alt, meta: none |
| 464 | } |
| 465 | |
| 466 | key NUMPAD_SUBTRACT { |
| 467 | label, number: '-' |
| 468 | base: '-' |
| 469 | ctrl, alt, meta: none |
| 470 | } |
| 471 | |
| 472 | key NUMPAD_ADD { |
| 473 | label, number: '+' |
| 474 | base: '+' |
| 475 | ctrl, alt, meta: none |
| 476 | } |
| 477 | |
| 478 | key NUMPAD_DOT { |
| 479 | label, number: '.' |
| 480 | base: fallback FORWARD_DEL |
| 481 | numlock: '.' |
| 482 | ctrl, alt, meta: none |
| 483 | } |
| 484 | |
| 485 | key NUMPAD_COMMA { |
| 486 | label, number: ',' |
| 487 | base: ',' |
| 488 | ctrl, alt, meta: none |
| 489 | } |
| 490 | |
| 491 | key NUMPAD_EQUALS { |
| 492 | label, number: '=' |
| 493 | base: '=' |
| 494 | ctrl, alt, meta: none |
| 495 | } |
| 496 | |
| 497 | key NUMPAD_ENTER { |
| 498 | label: '\n' |
| 499 | base: '\n' fallback ENTER |
| 500 | ctrl, alt, meta: none fallback ENTER |
| 501 | } |