您好,欢迎访问三七文档
当前位置:首页 > 电子/通信 > 电子设计/PCB > Android键盘键名和键值列表
Android键盘键名和键值列表电话键键名描述键值KEYCODE_CALL拨号键5KEYCODE_ENDCALL挂机键6KEYCODE_HOME按键Home3KEYCODE_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_ESCAPEESC键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_TABTab键61KEYCODE_NUM_LOCK小键盘锁143KEYCODE_CAPS_LOCK大写锁定键115KEYCODE_BREAKBreak/Pause键121KEYCODE_SCROLL_LOCK滚动锁定键116KEYCODE_ZOOM_IN放大键168KEYCODE_ZOOM_OUT缩小键169组合键键名描述KEYCODE_ALT_LEFTAlt+LeftKEYCODE_ALT_RIGHTAlt+RightKEYCODE_CTRL_LEFTControl+LeftKEYCODE_CTRL_RIGHTControl+RightKEYCODE_SHIFT_LEFTShift+LeftKEYCODE_SHIFT_RIGHTShift+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通用游戏手柄按钮#1KEYCODE_BUTTON_2通用游戏手柄按钮#2KEYCODE_BUTTON_3通用游戏手柄按钮#3KEYCODE_BUTTON_4通用游戏手柄按钮#4KEYCODE_BUTTON_5通用游戏手柄按钮#5KEYCODE_BUTTON_6通用游戏手柄按钮#6KEYCODE_BUTTON_7通用游戏手柄按钮#7KEYCODE_BUTTON_8通用游戏手柄按钮#8KEYCODE_BUTTON_9通用游戏手柄按钮#9KEYCODE_BUTTON_10通用游戏手柄按钮#10KEYCODE_BUTTON_11通用游戏手柄按钮#11KEYCODE_BUTTON_12通用游戏手柄按钮#12KEYCODE_BUTTON_13通用游戏手柄按钮#13KEYCODE_BUTTON_14通用游戏手柄按钮#14KEYCODE_BUTTON_15通用游戏手柄按钮#15KEYCODE_BUTTON_16通用游戏手柄按钮#16KEYCODE_BUTTON_A游戏手柄按钮AKEYCODE_BUTTON_B游戏手柄按钮BKEYCODE_BUTTON_C游戏手柄按钮CKEYCODE_BUTTON_X游戏手柄按钮XKEYCODE_BUTTON_Y游戏手柄按钮YKEYCODE_BUTTON_Z游戏手柄按钮ZKEYCODE_BUTTON_L1游戏手柄按钮L1KEYCODE_BUTTON_L2游戏手柄按钮L2KEYCODE_BUTTON_R1游戏手柄按钮R1KEYCODE_BUTTON_R2游戏手柄按钮R2KEYCODE_BUTTON_MODE游戏手柄按钮ModeKEYCODE_BUTTON_SELECT游戏手柄按钮SelectKEYCODE_BUTTON_START游戏手柄按钮StartKEYCODE_BUTTON_THUMBLLeftThumbButtonKEYCODE_BUTTON_THUMBRRightThumbButton待查键名描述KEYCODE_NUM按键NumbermodifierKEYCODE_INFO按键InfoKEYCODE_APP_SWITCH按键AppswitchKEYCODE_BOOKMARK按键BookmarkKEYCODE_AVR_INPUT按键A/VReceiverinputKEYCODE_AVR_POWER按键A/VReceiverpowerKEYCODE_CAPTIONS按键TogglecaptionsKEYCODE_CHANNEL_DOWN按键ChanneldownKEYCODE_CHANNEL_UP按键ChannelupKEYCODE_CLEAR按键ClearKEYCODE_DVR按键DVRKEYCODE_ENVELOPE按键EnvelopespecialfunctionKEYCODE_EXPLORER按键ExplorerspecialfunctionKEYCODE_FORWARD按键ForwardKEYCODE_FORWARD_DEL按键ForwardDeleteKEYCODE_FUNCTION按键FunctionmodifierKEYCODE_GUIDE按键GuideKEYCODE_HEADSETHOOK按键HeadsetHookKEYCODE_META_LEFT按键LeftMetamodifierKEYCODE_META_RIGHT按键RightMetamodifierKEYCODE_PICTSYMBOLS按键PictureSymbolsmodifierKEYCODE_PROG_BLUE按键Blue“programmable”KEYCODE_PROG_GREEN按键Green“programmable”KEYCODE_PROG_RED按键Red“programmable”KEYCODE_PROG_YELLOW按键Yellow“programmable”KEYCODE_SETTINGS按键SettingsKEYCODE_SOFT_LEFT按键SoftLeftKEYCODE_SOFT_RIGHT按键SoftRightKEYCODE_STB_INPUT按键Set-top-boxinputKEYCODE_STB_POWER按键Set-top-boxpowerKEYCODE_SWITCH_CHARSET按键SwitchCharsetmodifierKEYCODE_SYM按键SymbolmodifierKEYCODE_SYSRQ按键SystemRequest/PrintScreenKEYCODE_TV按键TVKEYCODE_TV_INPUT按键TVinputKEYCODE_TV_POWER按键TVpowerKEYCODE_WINDOW按键WindowKEYCODE_UNKNOWN未知按键KeyEvent.java对Keycode的定义/**Keycodeconstant:Unknownkeycode.*/publicstaticfinalintKEY
本文标题:Android键盘键名和键值列表
链接地址:https://www.777doc.com/doc-6107372 .html