Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [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 layout file 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 layout to support a specific keyboard; instead, create |
| 20 | # a new key layout file with the required keyboard configuration. |
| 21 | # |
| 22 | |
| 23 | key 1 ESCAPE |
| 24 | key 2 1 |
| 25 | key 3 2 |
| 26 | key 4 3 |
| 27 | key 5 4 |
| 28 | key 6 5 |
| 29 | key 7 6 |
| 30 | key 8 7 |
| 31 | key 9 8 |
| 32 | key 10 9 |
| 33 | key 11 0 |
| 34 | key 12 MINUS |
| 35 | key 13 EQUALS |
| 36 | key 14 DEL |
| 37 | key 15 TAB |
| 38 | key 16 Q |
| 39 | key 17 W |
| 40 | key 18 E |
| 41 | key 19 R |
| 42 | key 20 T |
| 43 | key 21 Y |
| 44 | key 22 U |
| 45 | key 23 I |
| 46 | key 24 O |
| 47 | key 25 P |
| 48 | key 26 LEFT_BRACKET |
| 49 | key 27 RIGHT_BRACKET |
| 50 | key 28 ENTER |
| 51 | key 29 CTRL_LEFT |
| 52 | key 30 A |
| 53 | key 31 S |
| 54 | key 32 D |
| 55 | key 33 F |
| 56 | key 34 G |
| 57 | key 35 H |
| 58 | key 36 J |
| 59 | key 37 K |
| 60 | key 38 L |
| 61 | key 39 SEMICOLON |
| 62 | key 40 APOSTROPHE |
| 63 | key 41 GRAVE |
| 64 | key 42 SHIFT_LEFT |
| 65 | key 43 BACKSLASH |
| 66 | key 44 Z |
| 67 | key 45 X |
| 68 | key 46 C |
| 69 | key 47 V |
| 70 | key 48 B |
| 71 | key 49 N |
| 72 | key 50 M |
| 73 | key 51 COMMA |
| 74 | key 52 PERIOD |
| 75 | key 53 SLASH |
| 76 | key 54 SHIFT_RIGHT |
| 77 | key 55 NUMPAD_MULTIPLY |
| 78 | key 56 ALT_LEFT |
| 79 | key 57 SPACE |
| 80 | key 58 CAPS_LOCK |
| 81 | key 59 F1 |
| 82 | key 60 F2 |
| 83 | key 61 F3 |
| 84 | key 62 F4 |
| 85 | key 63 F5 |
| 86 | key 64 F6 |
| 87 | key 65 F7 |
| 88 | key 66 F8 |
| 89 | key 67 F9 |
| 90 | key 68 F10 |
| 91 | key 69 NUM_LOCK |
| 92 | key 70 SCROLL_LOCK |
| 93 | key 71 NUMPAD_7 |
| 94 | key 72 NUMPAD_8 |
| 95 | key 73 NUMPAD_9 |
| 96 | key 74 NUMPAD_SUBTRACT |
| 97 | key 75 NUMPAD_4 |
| 98 | key 76 NUMPAD_5 |
| 99 | key 77 NUMPAD_6 |
| 100 | key 78 NUMPAD_ADD |
| 101 | key 79 NUMPAD_1 |
| 102 | key 80 NUMPAD_2 |
| 103 | key 81 NUMPAD_3 |
| 104 | key 82 NUMPAD_0 |
| 105 | key 83 NUMPAD_DOT |
| 106 | # key 84 (undefined) |
| 107 | key 85 ZENKAKU_HANKAKU |
| 108 | key 86 BACKSLASH |
| 109 | key 87 F11 |
| 110 | key 88 F12 |
| 111 | key 89 RO |
| 112 | # key 90 "KEY_KATAKANA" |
| 113 | # key 91 "KEY_HIRAGANA" |
| 114 | key 92 HENKAN |
| 115 | key 93 KATAKANA_HIRAGANA |
| 116 | key 94 MUHENKAN |
| 117 | key 95 NUMPAD_COMMA |
| 118 | key 96 NUMPAD_ENTER |
| 119 | key 97 CTRL_RIGHT |
| 120 | key 98 NUMPAD_DIVIDE |
| 121 | key 99 SYSRQ |
| 122 | key 100 ALT_RIGHT |
| 123 | # key 101 "KEY_LINEFEED" |
| 124 | key 102 MOVE_HOME |
| 125 | key 103 DPAD_UP |
| 126 | key 104 PAGE_UP |
| 127 | key 105 DPAD_LEFT |
| 128 | key 106 DPAD_RIGHT |
| 129 | #key 107 (CHN FOLDER MODEL) |
| 130 | key 107 MOVE_END |
| 131 | key 108 DPAD_DOWN |
| 132 | key 109 PAGE_DOWN |
| 133 | key 110 INSERT |
| 134 | key 111 FORWARD_DEL |
| 135 | # key 112 "KEY_MACRO" |
| 136 | key 113 VOLUME_MUTE |
| 137 | key 114 VOLUME_DOWN |
| 138 | key 115 VOLUME_UP |
| 139 | key 116 POWER |
| 140 | key 117 NUMPAD_EQUALS |
| 141 | # key 118 "KEY_KPPLUSMINUS" |
| 142 | key 119 BREAK |
| 143 | # key 120 (undefined) |
| 144 | key 121 NUMPAD_COMMA |
| 145 | key 122 LANG |
| 146 | key 123 EISU |
| 147 | key 124 YEN |
| 148 | key 125 META_LEFT |
| 149 | key 126 META_RIGHT |
| 150 | key 127 MENU |
| 151 | key 128 MEDIA_STOP |
| 152 | # key 129 "KEY_AGAIN" |
| 153 | # key 130 "KEY_PROPS" |
| 154 | # key 131 "KEY_UNDO" |
| 155 | # key 132 "KEY_FRONT" |
| 156 | # key 133 "KEY_COPY" |
| 157 | # key 134 "KEY_OPEN" |
| 158 | # key 135 "KEY_PASTE" |
| 159 | # key 136 "KEY_FIND" |
| 160 | # key 137 "KEY_CUT" |
| 161 | # key 138 "KEY_HELP" |
| 162 | key 139 MENU |
| 163 | key 140 CALCULATOR |
| 164 | # key 141 "KEY_SETUP" |
| 165 | key 142 SLEEP |
| 166 | key 143 WAKEUP |
| 167 | # key 144 "KEY_FILE" |
| 168 | # key 145 "KEY_SENDFILE" |
| 169 | # key 146 "KEY_DELETEFILE" |
| 170 | # key 147 "KEY_XFER" |
| 171 | # key 148 "KEY_PROG1" |
| 172 | # key 149 "KEY_PROG2" |
| 173 | key 150 EXPLORER |
| 174 | # key 151 "KEY_MSDOS" |
| 175 | key 152 POWER |
| 176 | # key 153 "KEY_DIRECTION" |
| 177 | # key 154 "KEY_CYCLEWINDOWS" |
| 178 | key 155 ENVELOPE |
| 179 | key 156 BOOKMARK |
| 180 | # key 157 "KEY_COMPUTER" |
| 181 | key 158 BACK |
| 182 | key 159 FORWARD |
| 183 | key 160 MEDIA_CLOSE |
| 184 | key 161 MEDIA_EJECT |
| 185 | key 162 MEDIA_EJECT |
| 186 | key 163 MEDIA_NEXT |
| 187 | key 164 MEDIA_PLAY_PAUSE |
| 188 | key 165 MEDIA_PREVIOUS |
| 189 | key 166 MEDIA_STOP |
| 190 | key 167 MEDIA_RECORD |
| 191 | key 168 MEDIA_REWIND |
| 192 | key 169 CALL |
| 193 | # key 170 "KEY_ISO" |
| 194 | key 171 MUSIC |
| 195 | #input_fw added wake attribute for home |
| 196 | key 172 HOME |
| 197 | # key 173 "KEY_REFRESH" |
| 198 | # key 174 "KEY_EXIT" |
| 199 | # key 175 "KEY_MOVE" |
| 200 | # key 176 "KEY_EDIT" |
| 201 | key 177 PAGE_UP |
| 202 | key 178 PAGE_DOWN |
| 203 | key 179 NUMPAD_LEFT_PAREN |
| 204 | key 180 NUMPAD_RIGHT_PAREN |
| 205 | # key 181 "KEY_NEW" |
| 206 | # key 182 "KEY_REDO" |
| 207 | # key 183 F13 |
| 208 | # key 184 F14 |
| 209 | # key 185 F15 |
| 210 | # key 186 F16 |
| 211 | # key 187 F17 |
| 212 | # key 188 F18 |
| 213 | # key 189 F19 |
| 214 | # key 190 F20 |
| 215 | # key 191 F21 |
| 216 | # key 192 F22 |
| 217 | # key 193 F23 |
| 218 | # key 194 F24 |
| 219 | # key 195 (undefined) |
| 220 | # key 196 (undefined) |
| 221 | # key 197 (undefined) |
| 222 | # key 198 (undefined) |
| 223 | # key 199 (undefined) |
| 224 | # input_fw for voice wakeup |
| 225 | key 198 VOICE_WAKEUP_LPSD |
| 226 | key 199 VOICE_WAKEUP |
| 227 | key 200 MEDIA_PLAY |
| 228 | key 201 MEDIA_PAUSE |
| 229 | # key 202 "KEY_PROG3" |
| 230 | # key 203 "KEY_PROG4" |
| 231 | # key 204 (undefined) |
| 232 | # key 205 "KEY_SUSPEND" |
| 233 | # key 206 "KEY_CLOSE" |
| 234 | key 207 MEDIA_PLAY |
| 235 | key 208 MEDIA_FAST_FORWARD |
| 236 | # key 209 "KEY_BASSBOOST" |
| 237 | # key 210 "KEY_PRINT" |
| 238 | # key 211 "KEY_HP" |
| 239 | key 212 CAMERA |
| 240 | key 213 MUSIC |
| 241 | # key 214 "KEY_QUESTION" |
| 242 | key 215 ENVELOPE |
| 243 | # key 216 "KEY_CHAT" |
| 244 | key 217 SEARCH |
| 245 | # key 218 "KEY_CONNECT" |
| 246 | # key 219 "KEY_FINANCE" |
| 247 | # key 220 "KEY_SPORT" |
| 248 | # key 221 "KEY_SHOP" |
| 249 | # key 222 "KEY_ALTERASE" |
| 250 | # key 223 "KEY_CANCEL" |
| 251 | key 224 BRIGHTNESS_DOWN |
| 252 | key 225 BRIGHTNESS_UP |
| 253 | key 226 HEADSETHOOK |
| 254 | |
| 255 | # samsung |
Zvikomborero VIncent Zvikaramba | ab5400d | 2016-07-22 01:37:41 -0400 | [diff] [blame] | 256 | key 231 CALL #(CHN FOLDER MODEL) |
| 257 | |
| 258 | # samsung |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 259 | key 252 USER |
| 260 | |
| 261 | # samsung |
| 262 | key 254 APP_SWITCH |
| 263 | |
| 264 | key 256 BUTTON_1 |
| 265 | key 257 BUTTON_2 |
| 266 | key 258 BUTTON_3 |
| 267 | key 259 BUTTON_4 |
| 268 | key 260 BUTTON_5 |
| 269 | key 261 BUTTON_6 |
| 270 | key 262 BUTTON_7 |
| 271 | key 263 BUTTON_8 |
| 272 | key 264 BUTTON_9 |
| 273 | key 265 BUTTON_10 |
| 274 | key 266 BUTTON_11 |
| 275 | key 267 BUTTON_12 |
| 276 | key 268 BUTTON_13 |
| 277 | key 269 BUTTON_14 |
| 278 | key 270 BUTTON_15 |
| 279 | key 271 BUTTON_16 |
| 280 | |
| 281 | key 288 BUTTON_1 |
| 282 | key 289 BUTTON_2 |
| 283 | key 290 BUTTON_3 |
| 284 | key 291 BUTTON_4 |
| 285 | key 292 BUTTON_5 |
| 286 | key 293 BUTTON_6 |
| 287 | key 294 BUTTON_7 |
| 288 | key 295 BUTTON_8 |
| 289 | key 296 BUTTON_9 |
| 290 | key 297 BUTTON_10 |
| 291 | key 298 BUTTON_11 |
| 292 | key 299 BUTTON_12 |
| 293 | key 300 BUTTON_13 |
| 294 | key 301 BUTTON_14 |
| 295 | key 302 BUTTON_15 |
| 296 | key 303 BUTTON_16 |
| 297 | |
| 298 | |
| 299 | key 304 BUTTON_A |
| 300 | key 305 BUTTON_B |
| 301 | key 306 BUTTON_C |
| 302 | key 307 BUTTON_X |
| 303 | key 308 BUTTON_Y |
| 304 | key 309 BUTTON_Z |
| 305 | key 310 BUTTON_L1 |
| 306 | key 311 BUTTON_R1 |
| 307 | key 312 BUTTON_L2 |
| 308 | key 313 BUTTON_R2 |
| 309 | key 314 BUTTON_SELECT |
| 310 | key 315 BUTTON_START |
| 311 | key 316 BUTTON_MODE |
| 312 | key 317 BUTTON_THUMBL |
| 313 | key 318 BUTTON_THUMBR |
| 314 | |
| 315 | |
| 316 | # key 352 "KEY_OK" |
Zvikomborero VIncent Zvikaramba | ab5400d | 2016-07-22 01:37:41 -0400 | [diff] [blame] | 317 | key 353 DPAD_CENTER |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 318 | # key 354 "KEY_GOTO" |
| 319 | # key 355 "KEY_CLEAR" |
| 320 | # key 356 "KEY_POWER2" |
| 321 | # key 357 "KEY_OPTION" |
| 322 | # key 358 "KEY_INFO" |
| 323 | # key 359 "KEY_TIME" |
| 324 | # key 360 "KEY_VENDOR" |
| 325 | # key 361 "KEY_ARCHIVE" |
| 326 | key 362 GUIDE |
| 327 | # key 363 "KEY_CHANNEL" |
| 328 | # key 364 "KEY_FAVORITES" |
| 329 | # key 365 "KEY_EPG" |
| 330 | key 366 DVR |
| 331 | # key 367 "KEY_MHP" |
| 332 | # key 368 "KEY_LANGUAGE" |
| 333 | # key 369 "KEY_TITLE" |
| 334 | # key 370 "KEY_SUBTITLE" |
| 335 | # key 371 "KEY_ANGLE" |
| 336 | # key 372 "KEY_ZOOM" |
| 337 | # key 373 "KEY_MODE" |
| 338 | # key 374 "KEY_KEYBOARD" |
| 339 | # key 375 "KEY_SCREEN" |
| 340 | # key 376 "KEY_PC" |
| 341 | key 377 TV |
| 342 | # key 378 "KEY_TV2" |
| 343 | # key 379 "KEY_VCR" |
| 344 | # key 380 "KEY_VCR2" |
| 345 | # key 381 "KEY_SAT" |
| 346 | # key 382 "KEY_SAT2" |
| 347 | # key 383 "KEY_CD" |
| 348 | # key 384 "KEY_TAPE" |
| 349 | # key 385 "KEY_RADIO" |
| 350 | # key 386 "KEY_TUNER" |
| 351 | # key 387 "KEY_PLAYER" |
| 352 | # key 388 "KEY_TEXT" |
| 353 | # key 389 "KEY_DVD" |
| 354 | # key 390 "KEY_AUX" |
| 355 | # key 391 "KEY_MP3" |
| 356 | # key 392 "KEY_AUDIO" |
| 357 | # key 393 "KEY_VIDEO" |
| 358 | # key 394 "KEY_DIRECTORY" |
| 359 | # key 395 "KEY_LIST" |
| 360 | # key 396 "KEY_MEMO" |
| 361 | key 397 CALENDAR |
| 362 | # key 398 "KEY_RED" |
| 363 | # key 399 "KEY_GREEN" |
| 364 | # key 400 "KEY_YELLOW" |
| 365 | # key 401 "KEY_BLUE" |
| 366 | key 402 CHANNEL_UP |
| 367 | key 403 CHANNEL_DOWN |
| 368 | # key 404 "KEY_FIRST" |
| 369 | # key 405 "KEY_LAST" |
| 370 | # key 406 "KEY_AB" |
| 371 | # key 407 "KEY_NEXT" |
| 372 | # key 408 "KEY_RESTART" |
| 373 | # key 409 "KEY_SLOW" |
| 374 | # key 410 "KEY_SHUFFLE" |
| 375 | # key 411 "KEY_BREAK" |
| 376 | # key 412 "KEY_PREVIOUS" |
| 377 | # key 413 "KEY_DIGITS" |
| 378 | # key 414 "KEY_TEEN" |
| 379 | # key 415 "KEY_TWEN" |
| 380 | |
| 381 | key 429 CONTACTS |
Zvikomborero VIncent Zvikaramba | ab5400d | 2016-07-22 01:37:41 -0400 | [diff] [blame] | 382 | key 430 MESSAGE |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 383 | |
| 384 | # key 448 "KEY_DEL_EOL" |
| 385 | # key 449 "KEY_DEL_EOS" |
| 386 | # key 450 "KEY_INS_LINE" |
| 387 | # key 451 "KEY_DEL_LINE" |
| 388 | |
| 389 | key 452 CAM_QUICK_REAR |
| 390 | key 453 CAM_QUICK_FRONT |
| 391 | key 454 2ND_SCREEN_WAKEUP |
| 392 | |
| 393 | # key 455 used for blackscreenUI |
| 394 | # key 456 KEY_BLACK_UI_QUICKAPP_ACCESS |
| 395 | # key 457 KEY_BLACK_UI_DIRECT_INDICATOR |
| 396 | |
| 397 | # input_fw for swipe gestures from sides, used for wakeup |
| 398 | key 458 SIDE_GESTURE_RIGHT |
| 399 | key 459 SIDE_GESTURE_LEFT |
| 400 | |
| 401 | key 464 FUNCTION |
| 402 | key 465 ESCAPE FUNCTION |
| 403 | key 466 F1 FUNCTION |
| 404 | key 467 F2 FUNCTION |
| 405 | key 468 F3 FUNCTION |
| 406 | key 469 F4 FUNCTION |
| 407 | key 470 F5 FUNCTION |
| 408 | key 471 F6 FUNCTION |
| 409 | key 472 F7 FUNCTION |
| 410 | key 473 F8 FUNCTION |
| 411 | key 474 F9 FUNCTION |
| 412 | key 475 F10 FUNCTION |
| 413 | key 476 F11 FUNCTION |
| 414 | key 477 F12 FUNCTION |
| 415 | key 478 1 FUNCTION |
| 416 | key 479 2 FUNCTION |
| 417 | key 480 D FUNCTION |
| 418 | key 481 E FUNCTION |
| 419 | key 482 F FUNCTION |
| 420 | key 483 S FUNCTION |
| 421 | key 484 B FUNCTION |
| 422 | |
| 423 | |
| 424 | # key 497 KEY_BRL_DOT1 |
| 425 | # key 498 KEY_BRL_DOT2 |
| 426 | # key 499 KEY_BRL_DOT3 |
| 427 | # key 500 KEY_BRL_DOT4 |
| 428 | # key 501 KEY_BRL_DOT5 |
| 429 | # key 502 KEY_BRL_DOT6 |
| 430 | # key 503 KEY_BRL_DOT7 |
| 431 | # key 504 KEY_BRL_DOT8 |
| 432 | |
| 433 | key 522 STAR |
| 434 | key 523 POUND |
| 435 | |
| 436 | # samsung camera |
| 437 | key 528 FOCUS |
| 438 | |
Zvikomborero VIncent Zvikaramba | ab5400d | 2016-07-22 01:37:41 -0400 | [diff] [blame] | 439 | #key 531 TOUCHPAD_ON |
| 440 | #key 532 TOUCHPAD_OFF |
| 441 | |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 442 | # samsung DMB |
| 443 | key 539 DMB_ANT_OPEN |
| 444 | key 540 DMB_ANT_CLOSE |
| 445 | |
Zvikomborero VIncent Zvikaramba | ab5400d | 2016-07-22 01:37:41 -0400 | [diff] [blame] | 446 | key 548 NETWORK_SEL #(CHN FOLDER MODEL) |
| 447 | key 549 3G #(CHN FOLDER MODEL) |
| 448 | key 550 WATCH #(CHN FOLDER MODEL) |
| 449 | key 551 ENDCALL #(CHN FOLDER MODEL) |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 450 | |
| 451 | #key 576 don't use (specific value used by camera project) - refer to InputReader.cpp |
| 452 | |
Zvikomborero VIncent Zvikaramba | ab5400d | 2016-07-22 01:37:41 -0400 | [diff] [blame] | 453 | key 580 APPSELECT |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 454 | key 582 VOICE_ASSIST |
| 455 | |
| 456 | # Keys defined by HID usages |
| 457 | key usage 0x0c006F BRIGHTNESS_UP |
| 458 | key usage 0x0c0070 BRIGHTNESS_DOWN |
| 459 | |
| 460 | # Joystick and game controller axes. |
| 461 | # Axes that are not mapped will be assigned generic axis numbers by the input subsystem. |
| 462 | axis 0x00 X |
| 463 | axis 0x01 Y |
| 464 | axis 0x02 Z |
| 465 | axis 0x03 RX |
| 466 | axis 0x04 RY |
| 467 | axis 0x05 RZ |
| 468 | axis 0x06 THROTTLE |
| 469 | axis 0x07 RUDDER |
| 470 | axis 0x08 WHEEL |
| 471 | axis 0x09 GAS |
| 472 | axis 0x0a BRAKE |
| 473 | axis 0x10 HAT_X |
| 474 | axis 0x11 HAT_Y |
| 475 | |
| 476 | # LEDs |
| 477 | led 0x00 NUM_LOCK |
| 478 | led 0x01 CAPS_LOCK |
| 479 | led 0x02 SCROLL_LOCK |
| 480 | led 0x03 COMPOSE |
| 481 | led 0x04 KANA |
| 482 | led 0x05 SLEEP |
| 483 | led 0x06 SUSPEND |
| 484 | led 0x07 MUTE |
| 485 | led 0x08 MISC |
| 486 | led 0x09 MAIL |
| 487 | led 0x0a CHARGING |