js-apis-keycode.md 26.6 KB
Newer Older
S
shawn_he 已提交
1
# @ohos.multimodalInput.keyCode (Keycode)
S
shawn_he 已提交
2

S
shawn_he 已提交
3
The **keyCode** module provides keycode values for key devices, such as the keyboard, power key, camera key, and the like.
S
shawn_he 已提交
4

S
shawn_he 已提交
5 6
> **NOTE**
> 
S
shawn_he 已提交
7 8 9 10 11
> The initial APIs of this module are supported since API version 9. Newly added APIs will be marked with a superscript to indicate their earliest API version.

## Modules to Import

```js
S
shawn_he 已提交
12
import {KeyCode} from '@ohos.multimodalInput.keyCode';
S
shawn_he 已提交
13 14
```

S
shawn_he 已提交
15 16
## KeyCode

S
shawn_he 已提交
17
Keycode value.
S
shawn_he 已提交
18

S
shawn_he 已提交
19 20
**System capability**: SystemCapability.MultimodalInput.Input.Core

S
shawn_he 已提交
21 22 23
| Name                              | Value  |  Description       |
| -------------------------------- | ------ | --------------------------- |
| KEYCODE_FN                       |  0 | Function (Fn) key                    |
S
shawn_he 已提交
24
| KEYCODE_UNKNOWN                  |  -1 |  Unknown key                       |
S
shawn_he 已提交
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
| KEYCODE_HOME                     |  1 | Function (Home) key                 |
| KEYCODE_BACK                     |  2 | Back key                        |
| KEYCODE_MEDIA_PLAY_PAUSE         |  10 | Play/Pause key                 |
| KEYCODE_MEDIA_STOP               |  11 | Stop key                    |
| KEYCODE_MEDIA_NEXT               |  12 | Next key                   |
| KEYCODE_MEDIA_PREVIOUS           |  13 | Previous key                   |
| KEYCODE_MEDIA_REWIND             |  14 | Rewind key                    |
| KEYCODE_MEDIA_FAST_FORWARD       |  15 | Fast Forward key                    |
| KEYCODE_VOLUME_UP                |  16 | Volume Up key                      |
| KEYCODE_VOLUME_DOWN              |  17 | Volume Down key                      |
| KEYCODE_POWER                    |  18 | Power key                        |
| KEYCODE_CAMERA                   |  19 | Camera key                        |
| KEYCODE_VOLUME_MUTE              |  22 | Speaker Mute key                     |
| KEYCODE_MUTE                     |  23 | Mute key                      |
| KEYCODE_BRIGHTNESS_UP            |  40 | Brightness Up key                  |
| KEYCODE_BRIGHTNESS_DOWN          |  41 | Brightness Down key                  |
| KEYCODE_0                        |  2000 | Key 0                      |
| KEYCODE_1                        |  2001 | Key 1                      |
| KEYCODE_2                        |  2002 | Key 2                      |
| KEYCODE_3                        |  2003 | Key 3                      |
| KEYCODE_4                        |  2004 | Key 4                      |
| KEYCODE_5                        |  2005 | Key 5                      |
| KEYCODE_6                        |  2006 | Key 6                      |
| KEYCODE_7                        |  2007 | Key 7                      |
| KEYCODE_8                        |  2008 | Key 8                      |
| KEYCODE_9                        |  2009 | Key 9                      |
| KEYCODE_STAR                     |  2010 | Key *                      |
| KEYCODE_POUND                    |  2011 | Key #                      |
S
shawn_he 已提交
53 54
| KEYCODE_DPAD_UP                  |  2012 |  Up key on D-pad                     |
| KEYCODE_DPAD_DOWN                |  2013 |  Down key on D-pad                     |
S
shawn_he 已提交
55
| KEYCODE_DPAD_LEFT                |  2014 | Left key on D-pad                     |
S
shawn_he 已提交
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92
| KEYCODE_DPAD_RIGHT               |  2015 | Right key on D-pad                     |
| KEYCODE_DPAD_CENTER              |  2016 | Center key on D-pad                    |
| KEYCODE_A                        |  2017 | Key A                      |
| KEYCODE_B                        |  2018 | Key B                      |
| KEYCODE_C                        |  2019 | Key C                      |
| KEYCODE_D                        |  2020 | Key D                      |
| KEYCODE_E                        |  2021 | Key E                      |
| KEYCODE_F                        |  2022 | Key F                      |
| KEYCODE_G                        |  2023 | Key G                      |
| KEYCODE_H                        |  2024 | Key H                      |
| KEYCODE_I                        |  2025 | Key I                      |
| KEYCODE_J                        |  2026 | Key J                      |
| KEYCODE_K                        |  2027 | Key K                      |
| KEYCODE_L                        |  2028 | Key L                      |
| KEYCODE_M                        |  2029 | Key M                      |
| KEYCODE_N                        |  2030 | Key N                      |
| KEYCODE_O                        |  2031 | Key O                      |
| KEYCODE_P                        |  2032 | Key P                      |
| KEYCODE_Q                        |  2033 | Key Q                      |
| KEYCODE_R                        |  2034 | Key R                      |
| KEYCODE_S                        |  2035 | Key S                      |
| KEYCODE_T                        |  2036 | Key T                      |
| KEYCODE_U                        |  2037 | Key U                      |
| KEYCODE_V                        |  2038 | Key V                      |
| KEYCODE_W                        |  2039 | Key W                      |
| KEYCODE_X                        |  2040 | Key X                      |
| KEYCODE_Y                        |  2041 | Key Y                      |
| KEYCODE_Z                        |  2042 | Key Z                      |
| KEYCODE_COMMA                    |  2043 | Key ,                      |
| KEYCODE_PERIOD                   |  2044 | Key .                      |
| KEYCODE_ALT_LEFT                 |  2045 | Left Alt key                   |
| KEYCODE_ALT_RIGHT                |  2046 | Right Alt key                 |
| KEYCODE_SHIFT_LEFT               |  2047 | Left Shift key               |
| KEYCODE_SHIFT_RIGHT              |  2048 | Right Shift key                |
| KEYCODE_TAB                      |  2049 | Tab key                       |
| KEYCODE_SPACE                    |  2050 | Space key                        |
| KEYCODE_SYM                      |  2051 | Symbol key                    |
S
shawn_he 已提交
93 94
| KEYCODE_EXPLORER                 |  2052 | Explorer key, used to start the explorer application     |
| KEYCODE_ENVELOPE                 |  2053 | Email key, used to start the email application   |
S
shawn_he 已提交
95 96 97 98 99 100 101 102 103 104 105 106 107 108
| KEYCODE_ENTER                    |  2054 | Enter key                        |
| KEYCODE_DEL                      |  2055 | Delete key                        |
| KEYCODE_GRAVE                    |  2056 | Key `                      |
| KEYCODE_MINUS                    |  2057 | Key -                      |
| KEYCODE_EQUALS                   |  2058 | Key =                      |
| KEYCODE_LEFT_BRACKET             |  2059 | Key [                      |
| KEYCODE_RIGHT_BRACKET            |  2060 | Key ]                      |
| KEYCODE_BACKSLASH                |  2061 | Key \\                      |
| KEYCODE_SEMICOLON                |  2062 | Key ;                      |
| KEYCODE_APOSTROPHE               |  2063 | Key '                 |
| KEYCODE_SLASH                    |  2064 | Key /                      |
| KEYCODE_AT                       |  2065 | Key @                      |
| KEYCODE_PLUS                     |  2066 | Key +                      |
| KEYCODE_MENU                     |  2067 | Menu key                        |
S
shawn_he 已提交
109
| KEYCODE_PAGE_UP                  |  2068 |  Page Up key                      |
S
shawn_he 已提交
110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190
| KEYCODE_PAGE_DOWN                |  2069 | Page Down key                      |
| KEYCODE_ESCAPE                   |  2070 | ESC key                       |
| KEYCODE_FORWARD_DEL              |  2071 | Delete key                        |
| KEYCODE_CTRL_LEFT                |  2072 | Left Ctrl key               |
| KEYCODE_CTRL_RIGHT               |  2073 | Right Ctrl key              |
| KEYCODE_CAPS_LOCK                |  2074 | Caps Lock key                      |
| KEYCODE_SCROLL_LOCK              |  2075 | Scroll Lock key                      |
| KEYCODE_META_LEFT                |  2076 | Left Meta key                     |
| KEYCODE_META_RIGHT               |  2077 | Right Meta key                     |
| KEYCODE_FUNCTION                 |  2078 | Function key                     |
| KEYCODE_SYSRQ                    |  2079 | System Request/Print Screen key                 |
| KEYCODE_BREAK                    |  2080 | Break/Pause key               |
| KEYCODE_MOVE_HOME                |  2081 | Move to Home key                   |
| KEYCODE_MOVE_END                 |  2082 | Move to End key                   |
| KEYCODE_INSERT                   |  2083 | Insert key                        |
| KEYCODE_FORWARD                  |  2084 | Forward key                        |
| KEYCODE_MEDIA_PLAY               |  2085 | Play key                    |
| KEYCODE_MEDIA_PAUSE              |  2086 | Pause key                    |
| KEYCODE_MEDIA_CLOSE              |  2087 | Close key                    |
| KEYCODE_MEDIA_EJECT              |  2088 | Eject key                    |
| KEYCODE_MEDIA_RECORD             |  2089 | Record key                    |
| KEYCODE_F1                       |  2090 | F1 key                     |
| KEYCODE_F2                       |  2091 | F2 key                     |
| KEYCODE_F3                       |  2092 | F3 key                     |
| KEYCODE_F4                       |  2093 | F4 key                     |
| KEYCODE_F5                       |  2094 | F5 key                     |
| KEYCODE_F6                       |  2095 | F6 key                     |
| KEYCODE_F7                       |  2096 | F7 key                     |
| KEYCODE_F8                       |  2097 | F8 key                     |
| KEYCODE_F9                       |  2098 | F9 key                     |
| KEYCODE_F10                      |  2099 | F10 key                    |
| KEYCODE_F11                      |  2100 | F11 key                    |
| KEYCODE_F12                      |  2101 | F12 key                    |
| KEYCODE_NUM_LOCK                 |  2102 | Number Lock key                       |
| KEYCODE_NUMPAD_0                 |  2103 | Key 0 on numeric keypad                   |
| KEYCODE_NUMPAD_1                 |  2104 | Key 1 on numeric keypad                   |
| KEYCODE_NUMPAD_2                 |  2105 | Key 2 on numeric keypad                   |
| KEYCODE_NUMPAD_3                 |  2106 | Key 3 on numeric keypad                   |
| KEYCODE_NUMPAD_4                 |  2107 | Key 4 on numeric keypad                   |
| KEYCODE_NUMPAD_5                 |  2108 | Key 5 on numeric keypad                   |
| KEYCODE_NUMPAD_6                 |  2109 | Key 6 on numeric keypad                   |
| KEYCODE_NUMPAD_7                 |  2110 | Key 7 on numeric keypad                   |
| KEYCODE_NUMPAD_8                 |  2111 | Key 8 on numeric keypad                   |
| KEYCODE_NUMPAD_9                 |  2112 | Key 9 on numeric keypad                   |
| KEYCODE_NUMPAD_DIVIDE            |  2113 | Key / on numeric keypad                   |
| KEYCODE_NUMPAD_MULTIPLY          |  2114 | Key * on numeric keypad                   |
| KEYCODE_NUMPAD_SUBTRACT          |  2115 | Key - on numeric keypad                   |
| KEYCODE_NUMPAD_ADD               |  2116 | Key + on numeric keypad                   |
| KEYCODE_NUMPAD_DOT               |  2117 | Key . on numeric keypad                   |
| KEYCODE_NUMPAD_COMMA             |  2118 | Key , on numeric keypad                   |
| KEYCODE_NUMPAD_ENTER             |  2119 | Enter key on numeric keypad                    |
| KEYCODE_NUMPAD_EQUALS            |  2120 | Key = on numeric keypad                   |
| KEYCODE_NUMPAD_LEFT_PAREN        |  2121 | Key ( on numeric keypad                   |
| KEYCODE_NUMPAD_RIGHT_PAREN       |  2122 | Key ) on numeric keypad                   |
| KEYCODE_VIRTUAL_MULTITASK        |  2210 | Multi-task key                     |
| KEYCODE_SLEEP                    |  2600 | Sleep key                        |
| KEYCODE_ZENKAKU_HANKAKU          |  2601 | Zenkaku/Hankaku key                   |
| KEYCODE_102ND                    |  2602 | 102nd key                    |
| KEYCODE_RO                       |  2603 | Ro key                      |
| KEYCODE_KATAKANA                 |  2604 | Katakana key                     |
| KEYCODE_HIRAGANA                 |  2605 | Hiragana key                     |
| KEYCODE_HENKAN                   |  2606 | Henkan key                      |
| KEYCODE_KATAKANA_HIRAGANA        |  2607 | Katakana/Hiragana key                 |
| KEYCODE_MUHENKAN                 |  2608 | Muhenkan key                     |
| KEYCODE_LINEFEED                 |  2609 | Linefeed key                        |
| KEYCODE_MACRO                    |  2610 | Macro key                         |
| KEYCODE_NUMPAD_PLUSMINUS         |  2611 | Plus/Minus key on the numeric keypad               |
| KEYCODE_SCALE                    |  2612 | Scale key                        |
| KEYCODE_HANGUEL                  |  2613 | Hanguel key                      |
| KEYCODE_HANJA                    |  2614 | Hanja key                      |
| KEYCODE_YEN                      |  2615 | Yen key                        |
| KEYCODE_STOP                     |  2616 | Stop key                        |
| KEYCODE_AGAIN                    |  2617 | Again key                        |
| KEYCODE_PROPS                    |  2618 | Props key                        |
| KEYCODE_UNDO                     |  2619 | Undo key                        |
| KEYCODE_COPY                     |  2620 | Copy key                        |
| KEYCODE_OPEN                     |  2621 | Open key                        |
| KEYCODE_PASTE                    |  2622 | Paste key                        |
| KEYCODE_FIND                     |  2623 | Find key                        |
| KEYCODE_CUT                      |  2624 | Cut key                        |
| KEYCODE_HELP                     |  2625 | Help key                        |
S
shawn_he 已提交
191
| KEYCODE_CALC                     |  2626 | Calc key, used to start the calculator application       |
S
shawn_he 已提交
192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276
| KEYCODE_FILE                     |  2627 | File key                       |
| KEYCODE_BOOKMARKS                |  2628 | Bookmarks key                        |
| KEYCODE_NEXT                     |  2629 | Next key                      |
| KEYCODE_PLAYPAUSE                |  2630 | Play/Pause key                     |
| KEYCODE_PREVIOUS                 |  2631 | Previous key                      |
| KEYCODE_STOPCD                   |  2632 | Stop CD key                      |
| KEYCODE_CONFIG                   |  2634 | Config key                        |
| KEYCODE_REFRESH                  |  2635 | Refresh key                        |
| KEYCODE_EXIT                     |  2636 | Exit key                        |
| KEYCODE_EDIT                     |  2637 | Edit key                        |
| KEYCODE_SCROLLUP                 |  2638 | Scroll Up key                      |
| KEYCODE_SCROLLDOWN               |  2639 | Scroll Down key                      |
| KEYCODE_NEW                      |  2640 | New key                        |
| KEYCODE_REDO                     |  2641 | Redo key                        |
| KEYCODE_CLOSE                    |  2642 | Close key                        |
| KEYCODE_PLAY                     |  2643 | Play key                        |
| KEYCODE_BASSBOOST                |  2644 | Bass Boost key                      |
| KEYCODE_PRINT                    |  2645 | Print key                        |
| KEYCODE_CHAT                     |  2646 | Chat key                        |
| KEYCODE_FINANCE                  |  2647 | Finance key                        |
| KEYCODE_CANCEL                   |  2648 | Cancel key                        |
| KEYCODE_KBDILLUM_TOGGLE          |  2649 | Keyboard Illumination Toggle key                    |
| KEYCODE_KBDILLUM_DOWN            |  2650 | Keyboard Illumination Up key                    |
| KEYCODE_KBDILLUM_UP              |  2651 | Keyboard Illumination Down key                    |
| KEYCODE_SEND                     |  2652 | Send key                        |
| KEYCODE_REPLY                    |  2653 | Reply key                        |
| KEYCODE_FORWARDMAIL              |  2654 | Forward Mail key                      |
| KEYCODE_SAVE                     |  2655 | Save key                        |
| KEYCODE_DOCUMENTS                |  2656 | Documents key                        |
| KEYCODE_VIDEO_NEXT               |  2657 | Next Video key                     |
| KEYCODE_VIDEO_PREV               |  2658 | Previous Video key                     |
| KEYCODE_BRIGHTNESS_CYCLE         |  2659 | Brightness Cycle key                      |
| KEYCODE_BRIGHTNESS_ZERO          |  2660 | Brightness Zero key                    |
| KEYCODE_DISPLAY_OFF              |  2661 | Display Off Key                      |
| KEYCODE_BTN_MISC                 |  2662 | Misc Button key                 |
| KEYCODE_GOTO                     |  2663 | Goto key                        |
| KEYCODE_INFO                     |  2664 | Info key                      |
| KEYCODE_PROGRAM                  |  2665 | Program key                        |
| KEYCODE_PVR                      |  2666 | PVR key                |
| KEYCODE_SUBTITLE                 |  2667 | Subtitle key                        |
| KEYCODE_FULL_SCREEN              |  2668 | Full Screen key                        |
| KEYCODE_KEYBOARD                 |  2669 | Keyboard                         |
| KEYCODE_ASPECT_RATIO             |  2670 | Aspect Ratio key                   |
| KEYCODE_PC                       |  2671 | Port Control key                      |
| KEYCODE_TV                       |  2672 | TV key                        |
| KEYCODE_TV2                      |  2673 | TV key 2                       |
| KEYCODE_VCR                      |  2674 | VCR key                     |
| KEYCODE_VCR2                     |  2675 | VCR key 2                    |
| KEYCODE_SAT                      |  2676 | SAT key            |
| KEYCODE_CD                       |  2677 | CD key                        |
| KEYCODE_TAPE                     |  2678 | Tape key                        |
| KEYCODE_TUNER                    |  2679 | Tuner key                       |
| KEYCODE_PLAYER                   |  2680 | Player key                       |
| KEYCODE_DVD                      |  2681 | DVD key                       |
| KEYCODE_AUDIO                    |  2682 | Audio key                        |
| KEYCODE_VIDEO                    |  2683 | Video key                        |
| KEYCODE_MEMO                     |  2684 | Memo key                       |
| KEYCODE_CALENDAR                 |  2685 | Calendar key                        |
| KEYCODE_RED                      |  2686 | Red indicator                      |
| KEYCODE_GREEN                    |  2687 | Green indicator                      |
| KEYCODE_YELLOW                   |  2688 | Yellow indicator                      |
| KEYCODE_BLUE                     |  2689 | Blue indicator                      |
| KEYCODE_CHANNELUP                |  2690 | Channel Up key                      |
| KEYCODE_CHANNELDOWN              |  2691 | Channel Down key                      |
| KEYCODE_LAST                     |  2692 | Last key                        |
| KEYCODE_RESTART                  |  2693 | Restart key                        |
| KEYCODE_SLOW                     |  2694 | Slow key                        |
| KEYCODE_SHUFFLE                  |  2695 | Shuffle key                      |
| KEYCODE_VIDEOPHONE               |  2696 | Videophone key                      |
| KEYCODE_GAMES                    |  2697 | Games key                        |
| KEYCODE_ZOOMIN                   |  2698 | Zoom-in key                        |
| KEYCODE_ZOOMOUT                  |  2699 | Zoom-out key                        |
| KEYCODE_ZOOMRESET                |  2700 | Zoom Reset key                      |
| KEYCODE_WORDPROCESSOR            |  2701 | Word Processor key                      |
| KEYCODE_EDITOR                   |  2702 | Editor key                       |
| KEYCODE_SPREADSHEET              |  2703 | Spreadsheet key                      |
| KEYCODE_GRAPHICSEDITOR           |  2704 | Graphics Editor key                     |
| KEYCODE_PRESENTATION             |  2705 | Presentation key                      |
| KEYCODE_DATABASE                 |  2706 | Database key                      |
| KEYCODE_NEWS                     |  2707 | News key                        |
| KEYCODE_VOICEMAIL                |  2708 | Voicemail key                       |
| KEYCODE_ADDRESSBOOK              |  2709 | Addressbook key                        |
| KEYCODE_MESSENGER                |  2710 | Messenger key                        |
| KEYCODE_BRIGHTNESS_TOGGLE        |  2711 | Brightness Toggle key                      |
| KEYCODE_SPELLCHECK               |  2712 | Spell Check key                     |
S
shawn_he 已提交
277
| KEYCODE_COFFEE                   |  2713 | Coffee key, used to launch screen lock or screen saver                 |
S
shawn_he 已提交
278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295
| KEYCODE_MEDIA_REPEAT             |  2714 | Media Repeat key                      |
| KEYCODE_IMAGES                   |  2715 | Images key                        |
| KEYCODE_BUTTONCONFIG             |  2716 | Button Configuration key                      |
| KEYCODE_TASKMANAGER              |  2717 | Task Manager key                      |
| KEYCODE_JOURNAL                  |  2718 | Log key                       |
| KEYCODE_CONTROLPANEL             |  2719 | Control Panel key                      |
| KEYCODE_APPSELECT                |  2720 | App Select key                    |
| KEYCODE_SCREENSAVER              |  2721 | Screen Saver key                    |
| KEYCODE_ASSISTANT                |  2722 | Assistant key                        |
| KEYCODE_KBD_LAYOUT_NEXT          |  2723 | Next Keyboard Layout key                   |
| KEYCODE_BRIGHTNESS_MIN           |  2724 | Min Brightness key                      |
| KEYCODE_BRIGHTNESS_MAX           |  2725 | Max Brightness key                      |
| KEYCODE_KBDINPUTASSIST_PREV      |  2726 | Keyboard Input-assisted Previous key        |
| KEYCODE_KBDINPUTASSIST_NEXT      |  2727 | Keyboard Input-assisted Next key            |
| KEYCODE_KBDINPUTASSIST_PREVGROUP |  2728 | Keyboard Input-assisted Previous Group key        |
| KEYCODE_KBDINPUTASSIST_NEXTGROUP |  2729 | Keyboard Input-assisted Next Group key            |
| KEYCODE_KBDINPUTASSIST_ACCEPT    |  2730 | Keyboard Input-assisted Accept key          |
| KEYCODE_KBDINPUTASSIST_CANCEL    |  2731 | Keyboard Input-assisted Cancel key          |
S
shawn_he 已提交
296
| KEYCODE_FRONT                    |  2800 | Front key, used to launch the windshield defogger                  |
S
shawn_he 已提交
297 298 299 300
| KEYCODE_SETUP                    |  2801 | Setup key                        |
| KEYCODE_WAKEUP                   |  2802 | Wakeup key                        |
| KEYCODE_SENDFILE                 |  2803 | Send File key                     |
| KEYCODE_DELETEFILE               |  2804 | Delete File key                     |
S
shawn_he 已提交
301
| KEYCODE_XFER                     |  2805 | XFER key, used to start file transfer               |
S
shawn_he 已提交
302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342
| KEYCODE_PROG1                    |  2806 | Program key 1                       |
| KEYCODE_PROG2                    |  2807 | Program key 2                       |
| KEYCODE_MSDOS                    |  2808 | MS-DOS key           |
| KEYCODE_SCREENLOCK               |  2809 | Screen Lock key                      |
| KEYCODE_DIRECTION_ROTATE_DISPLAY |  2810 | Directional Rotation Display key                    |
| KEYCODE_CYCLEWINDOWS             |  2811 | Windows Cycle key                 |
| KEYCODE_COMPUTER                 |  2812 | Keys                         |
| KEYCODE_EJECTCLOSECD             |  2813 | Eject CD key                      |
| KEYCODE_ISO                      |  2814 | ISO key                       |
| KEYCODE_MOVE                     |  2815 | Move key                        |
| KEYCODE_F13                      |  2816 | F13 key                    |
| KEYCODE_F14                      |  2817 | F14 key                    |
| KEYCODE_F15                      |  2818 | F15 key                    |
| KEYCODE_F16                      |  2819 | F16 key                    |
| KEYCODE_F17                      |  2820 | F17 key                    |
| KEYCODE_F18                      |  2821 | F18 key                    |
| KEYCODE_F19                      |  2822 | F19 key                    |
| KEYCODE_F20                      |  2823 | F20 key                    |
| KEYCODE_F21                      |  2824 | F21 key                    |
| KEYCODE_F22                      |  2825 | F22 key                    |
| KEYCODE_F23                      |  2826 | F23 key                    |
| KEYCODE_F24                      |  2827 | F24 key                    |
| KEYCODE_PROG3                    |  2828 | Program key 3                       |
| KEYCODE_PROG4                    |  2829 | Program key 4                       |
| KEYCODE_DASHBOARD                |  2830 | Dashboard                        |
| KEYCODE_SUSPEND                  |  2831 | Suspend key                        |
| KEYCODE_HP                       |  2832 | HP key                      |
| KEYCODE_SOUND                    |  2833 | Sound key                        |
| KEYCODE_QUESTION                 |  2834 | Question key                       |
| KEYCODE_CONNECT                  |  2836 | Connect key                        |
| KEYCODE_SPORT                    |  2837 | Sport key                       |
| KEYCODE_SHOP                     |  2838 | Shop key                        |
| KEYCODE_ALTERASE                 |  2839 | Alternate key                        |
| KEYCODE_SWITCHVIDEOMODE          |  2841 | Switch Video Mode key (monitor, LCD, and TV, etc.)|
| KEYCODE_BATTERY                  |  2842 | Battery key                       |
| KEYCODE_BLUETOOTH                |  2843 | Bluetooth key                       |
| KEYCODE_WLAN                     |  2844 | WLAN key                      |
| KEYCODE_UWB                      |  2845 | Ultra-wideband key                   |
| KEYCODE_WWAN_WIMAX               |  2846 | WWAN WiMAX key               |
| KEYCODE_RFKILL                   |  2847 | RF Kill key                  |
| KEYCODE_CHANNEL                  |  3001 | Channel key                      |
S
shawn_he 已提交
343
| KEYCODE_BTN_0                    |  3100 | Button 0                        |
S
shawn_he 已提交
344 345 346 347 348 349 350 351 352
| KEYCODE_BTN_1                    |  3101 | Button 1                        |
| KEYCODE_BTN_2                    |  3102 | Button 2                        |
| KEYCODE_BTN_3                    |  3103 | Button 3                        |
| KEYCODE_BTN_4                    |  3104 | Button 4                        |
| KEYCODE_BTN_5                    |  3105 | Button 5                        |
| KEYCODE_BTN_6                    |  3106 | Button 6                        |
| KEYCODE_BTN_7                    |  3107 | Button 7                        |
| KEYCODE_BTN_8                    |  3108 | Button 8                        |
| KEYCODE_BTN_9                    |  3109 | Button 9                        |