KEYCODE列表

电话键

 
KEYCODE_CALL拨号键5
KEYCODE_ENDCALL挂机键6
KEYCODE_HOME按键Home3
KEYCODE_MENU菜单82
KEYCODE_BACK返回键4
KEYCODE_SEARCH搜索84
KEYCODE_CAMERA拍照键27
KEYCODE_FOCUS拍照对焦键80
KEYCODE_POWER电源键26
KEYCODE_NOTIFICATION通知键83
KEYCODE_MUTE话筒静音键91
KEYCODE_VOLUME_MUTE扬声器静音键164
KEYCODE_VOLUME_UP音量增加键24
KEYCODE_VOLUME_DOWN音量减小键25

控制键

 
KEYCODE_ENTER回车键66
KEYCODE_ESCAPEESC键111
KEYCODE_DPAD_CENTER导航键 确定键23
KEYCODE_DPAD_UP导航键 向上19
KEYCODE_DPAD_DOWN导航键 向下20
KEYCODE_DPAD_LEFT导航键 向左21
KEYCODE_DPAD_RIGHT导航键 向右22
KEYCODE_MOVE_HOME光标移动到开始键122
KEYCODE_MOVE_END光标移动到末尾键123
KEYCODE_PAGE_UP向上翻页键92
KEYCODE_PAGE_DOWN向下翻页键93
KEYCODE_DEL退格键67
KEYCODE_FORWARD_DEL删除键112
KEYCODE_INSERT插入键124
KEYCODE_TABTab键61
KEYCODE_NUM_LOCK小键盘锁143
KEYCODE_CAPS_LOCK大写锁定键115
KEYCODE_BREAKBreak/Pause键121
KEYCODE_SCROLL_LOCK滚动锁定键116
KEYCODE_ZOOM_IN放大键168
KEYCODE_ZOOM_OUT缩小键169

组合键

 
KEYCODE_ALT_LEFTAlt+Left
KEYCODE_ALT_RIGHTAlt+Right
KEYCODE_CTRL_LEFTControl+Left
KEYCODE_CTRL_RIGHTControl+Right
KEYCODE_SHIFT_LEFTShift+Left
KEYCODE_SHIFT_RIGHTShift+Right

基本

 
KEYCODE_0按键'0'7
KEYCODE_1按键'1'8
KEYCODE_2按键'2'9
KEYCODE_3按键'3'10
KEYCODE_4按键'4'11
KEYCODE_5按键'5'12
KEYCODE_6按键'6'13
KEYCODE_7按键'7'14
KEYCODE_8按键'8'15
KEYCODE_9按键'9'16
KEYCODE_A按键'A'29
KEYCODE_B按键'B'30
KEYCODE_C按键'C'31
KEYCODE_D按键'D'32
KEYCODE_E按键'E'33
KEYCODE_F按键'F'34
KEYCODE_G按键'G'35
KEYCODE_H按键'H'36
KEYCODE_I按键'I'37
KEYCODE_J按键'J'38
KEYCODE_K按键'K'39
KEYCODE_L按键'L'40
KEYCODE_M按键'M'41
KEYCODE_N按键'N'42
KEYCODE_O按键'O'43
KEYCODE_P按键'P'44
KEYCODE_Q按键'Q'45
KEYCODE_R按键'R'46
KEYCODE_S按键'S'47
KEYCODE_T按键'T'48
KEYCODE_U按键'U'49
KEYCODE_V按键'V'50
KEYCODE_W按键'W'51
KEYCODE_X按键'X'52
KEYCODE_Y按键'Y'53
KEYCODE_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空格键
05-11 20:08