Android键盘键名和键值列表电话键键名描述键值KEYCODE_CALL 拨号键 5KEYCODE_ENDCALL 挂机键 6KEYCODE_HOME 按键Home 3KEYCODE_MENU 菜单键82KEYCODE_BACK 返回键 4KEYCODE_SEARCH 搜索键84KEYCODE_CAMERA 拍照键27KEYCODE_FOCUS 拍照对焦键80KEYCODE_POWER 电源键26KEYCODE_NOTIFICATION 通知键83KEYCODE_MUTE 话筒静音键91KEYCODE_VOLUME_MUTE 扬声器静音键164KEYCODE_VOLUME_UP 音量增加键24KEYCODE_VOLUME_DOWN 音量减小键25控制键键名描述键值KEYCODE_ENTER 回车键66KEYCODE_ESCAPE ESC键111KEYCODE_DPAD_CENTER 导航键确定键23KEYCODE_DPAD_UP 导航键向上19KEYCODE_DPAD_DOWN 导航键向下20KEYCODE_DPAD_LEFT 导航键向左21KEYCODE_DPAD_RIGHT 导航键向右22KEYCODE_MOVE_HOME 光标移动到开始键122KEYCODE_MOVE_END 光标移动到末尾键123KEYCODE_PAGE_UP 向上翻页键92KEYCODE_PAGE_DOWN 向下翻页键93KEYCODE_DEL 退格键67KEYCODE_FORWARD_DEL 删除键112KEYCODE_INSERT 插入键124KEYCODE_TAB Tab键61KEYCODE_NUM_LOCK 小键盘锁143KEYCODE_CAPS_LOCK 大写锁定键115KEYCODE_BREAK Break/Pause键121KEYCODE_SCROLL_LOCK 滚动锁定键116KEYCODE_ZOOM_IN 放大键168 KEYCODE_ZOOM_OUT 缩小键169 组合键键名描述KEYCODE_ALT_LEFT Alt+Left KEYCODE_ALT_RIGHT Alt+Right KEYCODE_CTRL_LEFT Control+Left KEYCODE_CTRL_RIGHT Control+Right KEYCODE_SHIFT_LEFT Shift+Left KEYCODE_SHIFT_RIGHT Shift+Right基本键名描述键值KEYCODE_0 按键'0' 7KEYCODE_1 按键'1' 8KEYCODE_2 按键'2' 9KEYCODE_3 按键'3' 10KEYCODE_4 按键'4' 11KEYCODE_5 按键'5' 12KEYCODE_6 按键'6' 13KEYCODE_7 按键'7' 14KEYCODE_8 按键'8' 15KEYCODE_9 按键'9' 16KEYCODE_A 按键'A' 29KEYCODE_B 按键'B' 30KEYCODE_C 按键'C' 31KEYCODE_D 按键'D' 32KEYCODE_E 按键'E' 33KEYCODE_F 按键'F' 34KEYCODE_G 按键'G' 35KEYCODE_H 按键'H' 36KEYCODE_I 按键'I' 37KEYCODE_J 按键'J' 38KEYCODE_K 按键'K' 39KEYCODE_L 按键'L' 40KEYCODE_M 按键'M' 41KEYCODE_N 按键'N' 42KEYCODE_O 按键'O' 43KEYCODE_P 按键'P' 44KEYCODE_Q 按键'Q' 45KEYCODE_R 按键'R' 46KEYCODE_S 按键'S' 47KEYCODE_T 按键'T' 48KEYCODE_U 按键'U' 49KEYCODE_V 按键'V' 50KEYCODE_W 按键'W' 51KEYCODE_X 按键'X' 52KEYCODE_Y 按键'Y' 53KEYCODE_Z 按键'Z' 54符号键名描述KEYCODE_PLUS 按键'+' KEYCODE_MINUS 按键'-' KEYCODE_STAR 按键'*' KEYCODE_SLASH 按键'/' KEYCODE_EQUALS 按键'=' KEYCODE_AT 按键'@' KEYCODE_POUND 按键'#' KEYCODE_APOSTROPHE 按键''' (单引号) KEYCODE_BACKSLASH 按键'\' KEYCODE_COMMA 按键',' KEYCODE_PERIOD 按键'.' KEYCODE_LEFT_BRACKET 按键'[' KEYCODE_RIGHT_BRACKET 按键']' KEYCODE_SEMICOLON 按键';' KEYCODE_GRAVE 按键'`' KEYCODE_SPACE 空格键小键盘键名描述KEYCODE_NUMPAD_0 小键盘按键'0' KEYCODE_NUMPAD_1 小键盘按键'1' KEYCODE_NUMPAD_2 小键盘按键'2' KEYCODE_NUMPAD_3 小键盘按键'3' KEYCODE_NUMPAD_4 小键盘按键'4' KEYCODE_NUMPAD_5 小键盘按键'5' KEYCODE_NUMPAD_6 小键盘按键'6' KEYCODE_NUMPAD_7 小键盘按键'7'KEYCODE_NUMPAD_8 小键盘按键'8' KEYCODE_NUMPAD_9 小键盘按键'9' KEYCODE_NUMPAD_ADD 小键盘按键'+' KEYCODE_NUMPAD_SUBTRACT 小键盘按键'-' KEYCODE_NUMPAD_MULTIPLY 小键盘按键'*' KEYCODE_NUMPAD_DIVIDE 小键盘按键'/' KEYCODE_NUMPAD_EQUALS 小键盘按键'=' KEYCODE_NUMPAD_COMMA 小键盘按键',' KEYCODE_NUMPAD_DOT 小键盘按键'.' KEYCODE_NUMPAD_LEFT_PAREN 小键盘按键'(' KEYCODE_NUMPAD_RIGHT_PAREN 小键盘按键')' KEYCODE_NUMPAD_ENTER 小键盘按键回车功能键键名描述KEYCODE_F1 按键F1KEYCODE_F2 按键F2KEYCODE_F3 按键F3KEYCODE_F4 按键F4KEYCODE_F5 按键F5KEYCODE_F6 按键F6KEYCODE_F7 按键F7KEYCODE_F8 按键F8KEYCODE_F9 按键F9KEYCODE_F10 按键F10KEYCODE_F11 按键F11KEYCODE_F12 按键F12多媒体键键名描述KEYCODE_MEDIA_PLAY 多媒体键播放KEYCODE_MEDIA_STOP 多媒体键停止KEYCODE_MEDIA_PAUSE 多媒体键暂停KEYCODE_MEDIA_PLAY_PAUSE 多媒体键播放/暂停KEYCODE_MEDIA_FAST_FORWARD 多媒体键快进KEYCODE_MEDIA_REWIND 多媒体键快退KEYCODE_MEDIA_NEXT 多媒体键下一首KEYCODE_MEDIA_PREVIOUS 多媒体键上一首KEYCODE_MEDIA_CLOSE 多媒体键关闭KEYCODE_MEDIA_EJECT 多媒体键弹出KEYCODE_MEDIA_RECORD 多媒体键录音手柄按键键名描述KEYCODE_BUTTON_1 通用游戏手柄按钮#1 KEYCODE_BUTTON_2 通用游戏手柄按钮#2 KEYCODE_BUTTON_3 通用游戏手柄按钮#3 KEYCODE_BUTTON_4 通用游戏手柄按钮#4 KEYCODE_BUTTON_5 通用游戏手柄按钮#5 KEYCODE_BUTTON_6 通用游戏手柄按钮#6 KEYCODE_BUTTON_7 通用游戏手柄按钮#7 KEYCODE_BUTTON_8 通用游戏手柄按钮#8 KEYCODE_BUTTON_9 通用游戏手柄按钮#9 KEYCODE_BUTTON_10 通用游戏手柄按钮#10 KEYCODE_BUTTON_11 通用游戏手柄按钮#11 KEYCODE_BUTTON_12 通用游戏手柄按钮#12 KEYCODE_BUTTON_13 通用游戏手柄按钮#13 KEYCODE_BUTTON_14 通用游戏手柄按钮#14 KEYCODE_BUTTON_15 通用游戏手柄按钮#15 KEYCODE_BUTTON_16 通用游戏手柄按钮#16 KEYCODE_BUTTON_A 游戏手柄按钮A KEYCODE_BUTTON_B 游戏手柄按钮B KEYCODE_BUTTON_C 游戏手柄按钮C KEYCODE_BUTTON_X 游戏手柄按钮X KEYCODE_BUTTON_Y 游戏手柄按钮Y KEYCODE_BUTTON_Z 游戏手柄按钮Z KEYCODE_BUTTON_L1 游戏手柄按钮L1 KEYCODE_BUTTON_L2 游戏手柄按钮L2 KEYCODE_BUTTON_R1 游戏手柄按钮R1 KEYCODE_BUTTON_R2 游戏手柄按钮R2 KEYCODE_BUTTON_MODE 游戏手柄按钮Mode KEYCODE_BUTTON_SELECT 游戏手柄按钮Select KEYCODE_BUTTON_START 游戏手柄按钮Start KEYCODE_BUTTON_THUMBL Left Thumb Button KEYCODE_BUTTON_THUMBR Right Thumb Button 待查键名描述KEYCODE_NUM 按键Number modifier KEYCODE_INFO 按键InfoKEYCODE_APP_SWITCH 按键App switchKEYCODE_BOOKMARK 按键BookmarkKEYCODE_AVR_INPUT 按键A/V Receiver input KEYCODE_AVR_POWER 按键A/V Receiver power KEYCODE_CAPTIONS 按键Toggle captions KEYCODE_CHANNEL_DOWN 按键Channel down KEYCODE_CHANNEL_UP 按键Channel upKEYCODE_CLEAR 按键ClearKEYCODE_DVR 按键DVRKEYCODE_ENVELOPE 按键Envelope special function KEYCODE_EXPLORER 按键Explorer special function KEYCODE_FORWARD 按键ForwardKEYCODE_FORWARD_DEL 按键Forward Delete KEYCODE_FUNCTION 按键Function modifier KEYCODE_GUIDE 按键GuideKEYCODE_HEADSETHOOK 按键Headset Hook KEYCODE_META_LEFT 按键Left Meta modifier KEYCODE_META_RIGHT 按键Right Meta modifier KEYCODE_PICTSYMBOLS 按键Picture Symbols modifier KEYCODE_PROG_BLUE 按键Blue “programmable”KEYCODE_PROG_GREEN 按键Green “programmable”KEYCODE_PROG_RED 按键Red “programmable”KEYCODE_PROG_YELLOW 按键Yellow “programmable”KEYCODE_SETTINGS 按键SettingsKEYCODE_SOFT_LEFT 按键Soft LeftKEYCODE_SOFT_RIGHT 按键Soft RightKEYCODE_STB_INPUT 按键Set-top-box input KEYCODE_STB_POWER 按键Set-top-box power KEYCODE_SWITCH_CHARSET 按键Switch Charset modifier KEYCODE_SYM 按键Symbol modifier KEYCODE_SYSRQ 按键System Request / Print Screen KEYCODE_TV 按键TVKEYCODE_TV_INPUT 按键TV inputKEYCODE_TV_POWER 按键TV powerKEYCODE_WINDOW 按键WindowKEYCODE_UNKNOWN 未知按键KeyEvent.java对Key code的定义/** Key code constant: Unknown key code. */public static final int KEYCODE_UNKNOWN = 0;/** Key code constant: Soft Left key.* Usually situated below the display on phones and used as a multi-function* feature key for selecting a software defined function shown on the bottom left * of the display. */public static final int KEYCODE_SOFT_LEFT = 1;/** Key code constant: Soft Right key.* Usually situated below the display on phones and used as a multi-function* feature key for selecting a software defined function shown on the bottom right * of the display. */public static final int KEYCODE_SOFT_RIGHT = 2;/** Key code constant: Home key.* This key is handled by the framework and is never delivered to applications. */ public static final int KEYCODE_HOME = 3;/** Key code constant: Back key. */public static final int KEYCODE_BACK = 4;/** Key code constant: Call key. */public static final int KEYCODE_CALL = 5;/** Key code constant: End Call key. */public static final int KEYCODE_ENDCALL = 6;/** Key code constant: '0' key. */public static final int KEYCODE_0 = 7;/** Key code constant: '1' key. */public static final int KEYCODE_1 = 8;/** Key code constant: '2' key. */public static final int KEYCODE_2 = 9;/** Key code constant: '3' key. */public static final int KEYCODE_3 = 10;/** Key code constant: '4' key. */public static final int KEYCODE_4 = 11;/** Key code constant: '5' key. */public static final int KEYCODE_5 = 12;/** Key code constant: '6' key. */public static final int KEYCODE_6 = 13;/** Key code constant: '7' key. */public static final int KEYCODE_7 = 14;/** Key code constant: '8' key. */public static final int KEYCODE_8 = 15;/** Key code constant: '9' key. */public static final int KEYCODE_9 = 16;/** Key code constant: '*' key. *//** Key code constant: '#' key. */public static final int KEYCODE_POUND = 18; /** Key code constant: Directional Pad Up key.* May also be synthesized from trackball motions. */public static final int KEYCODE_DPAD_UP = 19; /** Key code constant: Directional Pad Down key.* May also be synthesized from trackball motions. */public static final int KEYCODE_DPAD_DOWN = 20; /** Key code constant: Directional Pad Left key.* May also be synthesized from trackball motions. */public static final int KEYCODE_DPAD_LEFT = 21; /** Key code constant: Directional Pad Right key.* May also be synthesized from trackball motions. */public static final int KEYCODE_DPAD_RIGHT = 22; /** Key code constant: Directional Pad Center key.* May also be synthesized from trackball motions. */public static final int KEYCODE_DPAD_CENTER = 23; /** Key code constant: Volume Up key.* Adjusts the speaker volume up. */public static final int KEYCODE_VOLUME_UP = 24; /** Key code constant: Volume Down key.* Adjusts the speaker volume down. */public static final int KEYCODE_VOLUME_DOWN = 25; /** Key code constant: Power key. */public static final int KEYCODE_POWER = 26; /** Key code constant: Camera key.* Used to launch a camera application or take pictures. */ public static final int KEYCODE_CAMERA = 27; /** Key code constant: Clear key. */public static final int KEYCODE_CLEAR = 28; /** Key code constant: 'A' key. */public static final int KEYCODE_A = 29; /** Key code constant: 'B' key. */public static final int KEYCODE_B = 30; /** Key code constant: 'C' key. */public static final int KEYCODE_C = 31; /** Key code constant: 'D' key. */public static final int KEYCODE_D = 32; /** Key code constant: 'E' key. */public static final int KEYCODE_E = 33; /** Key code constant: 'F' key. */public static final int KEYCODE_F = 34;/** Key code constant: 'G' key. *//** Key code constant: 'H' key. */public static final int KEYCODE_H = 36; /** Key code constant: 'I' key. */public static final int KEYCODE_I = 37; /** Key code constant: 'J' key. */public static final int KEYCODE_J = 38; /** Key code constant: 'K' key. */public static final int KEYCODE_K = 39; /** Key code constant: 'L' key. */public static final int KEYCODE_L = 40; /** Key code constant: 'M' key. */public static final int KEYCODE_M = 41; /** Key code constant: 'N' key. */public static final int KEYCODE_N = 42; /** Key code constant: 'O' key. */public static final int KEYCODE_O = 43; /** Key code constant: 'P' key. */public static final int KEYCODE_P = 44; /** Key code constant: 'Q' key. */public static final int KEYCODE_Q = 45; /** Key code constant: 'R' key. */public static final int KEYCODE_R = 46; /** Key code constant: 'S' key. */public static final int KEYCODE_S = 47; /** Key code constant: 'T' key. */public static final int KEYCODE_T = 48; /** Key code constant: 'U' key. */public static final int KEYCODE_U = 49; /** Key code constant: 'V' key. */public static final int KEYCODE_V = 50; /** Key code constant: 'W' key. */public static final int KEYCODE_W = 51; /** Key code constant: 'X' key. */public static final int KEYCODE_X = 52; /** Key code constant: 'Y' key. */public static final int KEYCODE_Y = 53; /** Key code constant: 'Z' key. */public static final int KEYCODE_Z = 54; /** Key code constant: ',' key. */public static final int KEYCODE_COMMA = 55; /** Key code constant: '.' key. */public static final int KEYCODE_PERIOD = 56; /** Key code constant: Left Alt modifier key. *//** Key code constant: Right Alt modifier key. */public static final int KEYCODE_ALT_RIGHT = 58;/** Key code constant: Left Shift modifier key. */public static final int KEYCODE_SHIFT_LEFT = 59;/** Key code constant: Right Shift modifier key. */public static final int KEYCODE_SHIFT_RIGHT = 60;/** Key code constant: Tab key. */public static final int KEYCODE_TAB = 61;/** Key code constant: Space key. */public static final int KEYCODE_SPACE = 62;/** Key code constant: Symbol modifier key.* Used to enter alternate symbols. */public static final int KEYCODE_SYM = 63;/** Key code constant: Explorer special function key.* Used to launch a browser application. */public static final int KEYCODE_EXPLORER = 64;/** Key code constant: Envelope special function key.* Used to launch a mail application. */public static final int KEYCODE_ENVELOPE = 65;/** Key code constant: Enter key. */public static final int KEYCODE_ENTER = 66;/** Key code constant: Backspace key.* Deletes characters before the insertion point, unlike {@link #KEYCODE_FORWARD_DEL}. */public static final int KEYCODE_DEL = 67;/** Key code constant: '`' (backtick) key. */public static final int KEYCODE_GRAVE = 68;/** Key code constant: '-'. */public static final int KEYCODE_MINUS = 69;/** Key code constant: '=' key. */public static final int KEYCODE_EQUALS = 70;/** Key code constant: '[' key. */public static final int KEYCODE_LEFT_BRACKET = 71;/** Key code constant: ']' key. */public static final int KEYCODE_RIGHT_BRACKET = 72;/** Key code constant: '\' key. */public static final int KEYCODE_BACKSLASH = 73;/** Key code constant: ';' key. */public static final int KEYCODE_SEMICOLON = 74;/** Key code constant: ''' (apostrophe) key. */public static final int KEYCODE_APOSTROPHE = 75;/** Key code constant: '/' key. */public static final int KEYCODE_SLASH = 76;/** Key code constant: '@' key. */public static final int KEYCODE_AT = 77;/** Key code constant: Number modifier key.* Used to enter numeric symbols.* This key is not Num Lock; it is more like {@link #KEYCODE_ALT_LEFT} and is* interpreted as an ALT key by {@link android.text.method.MetaKeyKeyListener}. */public static final int KEYCODE_NUM = 78;/** Key code constant: Headset Hook key.* Used to hang up calls and stop media. */public static final int KEYCODE_HEADSETHOOK = 79;/** Key code constant: Camera Focus key.* Used to focus the camera. */public static final int KEYCODE_FOCUS = 80; // *Camera* focus/** Key code constant: '+' key. */public static final int KEYCODE_PLUS = 81;/** Key code constant: Menu key. */public static final int KEYCODE_MENU = 82;/** Key code constant: Notification key. */public static final int KEYCODE_NOTIFICATION = 83;/** Key code constant: Search key. */public static final int KEYCODE_SEARCH = 84;/** Key code constant: Play/Pause media key. */public static final int KEYCODE_MEDIA_PLAY_PAUSE= 85;/** Key code constant: Stop media key. */public static final int KEYCODE_MEDIA_STOP = 86;/** Key code constant: Play Next media key. */public static final int KEYCODE_MEDIA_NEXT = 87;/** Key code constant: Play Previous media key. */public static final int KEYCODE_MEDIA_PREVIOUS = 88;/** Key code constant: Rewind media key. */public static final int KEYCODE_MEDIA_REWIND = 89;/** Key code constant: Fast Forward media key. */public static final int KEYCODE_MEDIA_FAST_FORWARD = 90;/** Key code constant: Mute key.* Mutes the microphone, unlike {@link #KEYCODE_VOLUME_MUTE}. */public static final int KEYCODE_MUTE = 91;/** Key code constant: Page Up key. */public static final int KEYCODE_PAGE_UP = 92;/** Key code constant: Page Down key. */public static final int KEYCODE_PAGE_DOWN = 93;/** Key code constant: Picture Symbols modifier key.* Used to switch symbol sets (Emoji, Kao-moji). */public static final int KEYCODE_PICTSYMBOLS = 94; // switch symbol-sets (Emoji,Kao-moji)/** Key code constant: Switch Charset modifier key.* Used to switch character sets (Kanji, Katakana). */public static final int KEYCODE_SWITCH_CHARSET = 95; // switch char-sets (Kanji,Katakana)/** Key code constant: A Button key.* On a game controller, the A button should be either the button labeled A* or the first button on the upper row of controller buttons. */public static final int KEYCODE_BUTTON_A = 96;/** Key code constant: B Button key.* On a game controller, the B button should be either the button labeled B* or the second button on the upper row of controller buttons. */public static final int KEYCODE_BUTTON_B = 97;/** Key code constant: C Button key.* On a game controller, the C button should be either the button labeled C* or the third button on the upper row of controller buttons. */public static final int KEYCODE_BUTTON_C = 98;/** Key code constant: X Button key.* On a game controller, the X button should be either the button labeled X* or the first button on the lower row of controller buttons. */public static final int KEYCODE_BUTTON_X = 99;/** Key code constant: Y Button key.* On a game controller, the Y button should be either the button labeled Y* or the second button on the lower row of controller buttons. */public static final int KEYCODE_BUTTON_Y = 100;/** Key code constant: Z Button key.* On a game controller, the Z button should be either the button labeled Z* or the third button on the lower row of controller buttons. */public static final int KEYCODE_BUTTON_Z = 101;/** Key code constant: L1 Button key.* On a game controller, the L1 button should be either the button labeled L1 (or L)* or the top left trigger button. */public static final int KEYCODE_BUTTON_L1 = 102;/** Key code constant: R1 Button key.* On a game controller, the R1 button should be either the button labeled R1 (or R)* or the top right trigger button. */public static final int KEYCODE_BUTTON_R1 = 103;/** Key code constant: L2 Button key.* On a game controller, the L2 button should be either the button labeled L2* or the bottom left trigger button. */public static final int KEYCODE_BUTTON_L2 = 104;/** Key code constant: R2 Button key.* On a game controller, the R2 button should be either the button labeled R2* or the bottom right trigger button. */public static final int KEYCODE_BUTTON_R2 = 105;* On a game controller, the left thumb button indicates that the left (or only)* joystick is pressed. */public static final int KEYCODE_BUTTON_THUMBL = 106;/** Key code constant: Right Thumb Button key.* On a game controller, the right thumb button indicates that the right* joystick is pressed. */public static final int KEYCODE_BUTTON_THUMBR = 107;/** Key code constant: Start Button key.* On a game controller, the button labeled Start. */public static final int KEYCODE_BUTTON_START = 108;/** Key code constant: Select Button key.* On a game controller, the button labeled Select. */public static final int KEYCODE_BUTTON_SELECT = 109;/** Key code constant: Mode Button key.* On a game controller, the button labeled Mode. */public static final int KEYCODE_BUTTON_MODE = 110;/** Key code constant: Escape key. */public static final int KEYCODE_ESCAPE = 111;/** Key code constant: Forward Delete key.* Deletes characters ahead of the insertion point, unlike {@link #KEYCODE_DEL}. */ public static final int KEYCODE_FORWARD_DEL = 112;/** Key code constant: Left Control modifier key. */public static final int KEYCODE_CTRL_LEFT = 113;/** Key code constant: Right Control modifier key. */public static final int KEYCODE_CTRL_RIGHT = 114;/** Key code constant: Caps Lock key. */public static final int KEYCODE_CAPS_LOCK = 115;/** Key code constant: Scroll Lock key. */public static final int KEYCODE_SCROLL_LOCK = 116;/** Key code constant: Left Meta modifier key. */public static final int KEYCODE_META_LEFT = 117;/** Key code constant: Right Meta modifier key. */public static final int KEYCODE_META_RIGHT = 118;/** Key code constant: Function modifier key. */public static final int KEYCODE_FUNCTION = 119;/** Key code constant: System Request / Print Screen key. */public static final int KEYCODE_SYSRQ = 120;/** Key code constant: Break / Pause key. */public static final int KEYCODE_BREAK = 121;/** Key code constant: Home Movement key.* Used for scrolling or moving the cursor around to the start of a line* or to the top of a list. */public static final int KEYCODE_MOVE_HOME = 122;* Used for scrolling or moving the cursor around to the end of a line* or to the bottom of a list. */public static final int KEYCODE_MOVE_END = 123;/** Key code constant: Insert key.* Toggles insert / overwrite edit mode. */public static final int KEYCODE_INSERT = 124;/** Key code constant: Forward key.* Navigates forward in the history stack. Complement of {@link #KEYCODE_BACK}. */ public static final int KEYCODE_FORWARD = 125;/** Key code constant: Play media key. */public static final int KEYCODE_MEDIA_PLAY = 126;/** Key code constant: Pause media key. */public static final int KEYCODE_MEDIA_PAUSE = 127;/** Key code constant: Close media key.* May be used to close a CD tray, for example. */public static final int KEYCODE_MEDIA_CLOSE = 128;/** Key code constant: Eject media key.* May be used to eject a CD tray, for example. */public static final int KEYCODE_MEDIA_EJECT = 129;/** Key code constant: Record media key. */public static final int KEYCODE_MEDIA_RECORD = 130;/** Key code constant: F1 key. */public static final int KEYCODE_F1 = 131;/** Key code constant: F2 key. */public static final int KEYCODE_F2 = 132;/** Key code constant: F3 key. */public static final int KEYCODE_F3 = 133;/** Key code constant: F4 key. */public static final int KEYCODE_F4 = 134;/** Key code constant: F5 key. */public static final int KEYCODE_F5 = 135;/** Key code constant: F6 key. */public static final int KEYCODE_F6 = 136;/** Key code constant: F7 key. */public static final int KEYCODE_F7 = 137;/** Key code constant: F8 key. */public static final int KEYCODE_F8 = 138;/** Key code constant: F9 key. */public static final int KEYCODE_F9 = 139;/** Key code constant: F10 key. */public static final int KEYCODE_F10 = 140;/** Key code constant: F11 key. */public static final int KEYCODE_F11 = 141;/** Key code constant: F12 key. */public static final int KEYCODE_F12 = 142;/** Key code constant: Num Lock key.* This is the Num Lock key; it is different from {@link #KEYCODE_NUM}.* This key alters the behavior of other keys on the numeric keypad. */public static final int KEYCODE_NUM_LOCK = 143;/** Key code constant: Numeric keypad '0' key. */public static final int KEYCODE_NUMPAD_0 = 144;/** Key code constant: Numeric keypad '1' key. */public static final int KEYCODE_NUMPAD_1 = 145;/** Key code constant: Numeric keypad '2' key. */public static final int KEYCODE_NUMPAD_2 = 146;/** Key code constant: Numeric keypad '3' key. */public static final int KEYCODE_NUMPAD_3 = 147;/** Key code constant: Numeric keypad '4' key. */public static final int KEYCODE_NUMPAD_4 = 148;/** Key code constant: Numeric keypad '5' key. */public static final int KEYCODE_NUMPAD_5 = 149;/** Key code constant: Numeric keypad '6' key. */public static final int KEYCODE_NUMPAD_6 = 150;/** Key code constant: Numeric keypad '7' key. */public static final int KEYCODE_NUMPAD_7 = 151;/** Key code constant: Numeric keypad '8' key. */public static final int KEYCODE_NUMPAD_8 = 152;/** Key code constant: Numeric keypad '9' key. */public static final int KEYCODE_NUMPAD_9 = 153;/** Key code constant: Numeric keypad '/' key (for division). */public static final int KEYCODE_NUMPAD_DIVIDE = 154;/** Key code constant: Numeric keypad '*' key (for multiplication). */public static final int KEYCODE_NUMPAD_MULTIPLY = 155;/** Key code constant: Numeric keypad '-' key (for subtraction). */public static final int KEYCODE_NUMPAD_SUBTRACT = 156;/** Key code constant: Numeric keypad '+' key (for addition). */public static final int KEYCODE_NUMPAD_ADD = 157;/** Key code constant: Numeric keypad '.' key (for decimals or digit grouping). */ public static final int KEYCODE_NUMPAD_DOT = 158;/** Key code constant: Numeric keypad ',' key (for decimals or digit grouping). */ public static final int KEYCODE_NUMPAD_COMMA = 159;/** Key code constant: Numeric keypad Enter key. */public static final int KEYCODE_NUMPAD_ENTER = 160;/** Key code constant: Numeric keypad '=' key. */public static final int KEYCODE_NUMPAD_EQUALS = 161;/** Key code constant: Numeric keypad '(' key. */public static final int KEYCODE_NUMPAD_LEFT_PAREN = 162;/** Key code constant: Numeric keypad ')' key. */public static final int KEYCODE_NUMPAD_RIGHT_PAREN = 163;/** Key code constant: Volume Mute key.* Mutes the speaker, unlike {@link #KEYCODE_MUTE}.* This key should normally be implemented as a toggle such that the first press* mutes the speaker and the second press restores the original volume. */public static final int KEYCODE_VOLUME_MUTE = 164;/** Key code constant: Info key.* Common on TV remotes to show additional information related to what is* currently being viewed. */public static final int KEYCODE_INFO = 165;/** Key code constant: Channel up key.* On TV remotes, increments the television channel. */public static final int KEYCODE_CHANNEL_UP = 166;/** Key code constant: Channel down key.* On TV remotes, decrements the television channel. */public static final int KEYCODE_CHANNEL_DOWN = 167;/** Key code constant: Zoom in key. */public static final int KEYCODE_ZOOM_IN = 168;/** Key code constant: Zoom out key. */public static final int KEYCODE_ZOOM_OUT = 169;/** Key code constant: TV key.* On TV remotes, switches to viewing live TV. */public static final int KEYCODE_TV = 170;/** Key code constant: Window key.* On TV remotes, toggles picture-in-picture mode or other windowing functions. */public static final int KEYCODE_WINDOW = 171;/** Key code constant: Guide key.* On TV remotes, shows a programming guide. */public static final int KEYCODE_GUIDE = 172;/** Key code constant: DVR key.* On some TV remotes, switches to a DVR mode for recorded shows. */public static final int KEYCODE_DVR = 173;/** Key code constant: Bookmark key.* On some TV remotes, bookmarks content or web pages. */public static final int KEYCODE_BOOKMARK = 174;/** Key code constant: Toggle captions key.* Switches the mode for closed-captioning text, for example during television shows. */ public static final int KEYCODE_CAPTIONS = 175;/** Key code constant: Settings key.* Starts the system settings activity. */public static final int KEYCODE_SETTINGS = 176;/** Key code constant: TV power key.* On TV remotes, toggles the power on a television screen. */。