Android KeyCode List

Phone Keys

KEYCODE_CALL Dial Key 5
KEYCODE_ENDCALL End Call Key 6
KEYCODE_HOME Home Key 3
KEYCODE_MENU Menu Key 82
KEYCODE_BACK Back Key 4
KEYCODE_SEARCH Search Key 84
KEYCODE_CAMERA Camera Key 27
KEYCODE_FOCUS Camera Focus Key 80
KEYCODE_POWER Power Key 26
KEYCODE_NOTIFICATION Notification Key 83
KEYCODE_MUTE Microphone Mute Key 91
KEYCODE_VOLUME_MUTE Speaker Mute Key 164
KEYCODE_VOLUME_UP Volume Up Key 24
KEYCODE_VOLUME_DOWN Volume Down Key 25

Control Keys

KEYCODE_ENTER Enter Key 66
KEYCODE_ESCAPE ESC Key 111
KEYCODE_DPAD_CENTER Navigation Key - Center/OK 23
KEYCODE_DPAD_UP Navigation Key - Up 19
KEYCODE_DPAD_DOWN Navigation Key - Down 20
KEYCODE_DPAD_LEFT Navigation Key - Left 21
KEYCODE_DPAD_RIGHT Navigation Key - Right 22
KEYCODE_MOVE_HOME Move to Home Key 122
KEYCODE_MOVE_END Move to End Key 123
KEYCODE_PAGE_UP Page Up Key 92
KEYCODE_PAGE_DOWN Page Down Key 93
KEYCODE_DEL Delete Key 67
KEYCODE_FORWARD_DEL Forward Delete Key 112
KEYCODE_INSERT Insert Key 124
KEYCODE_TAB Tab Key 61
KEYCODE_NUM_LOCK Numeric Lock Key 143
KEYCODE_CAPS_LOCK Caps Lock Key 115
KEYCODE_BREAK Break/Pause Key 121
KEYCODE_SCROLL_LOCK Scroll Lock Key 116
KEYCODE_ZOOM_IN Zoom In Key 168
KEYCODE_ZOOM_OUT Zoom Out Key 169

Combination Keys

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

Basic

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

Symbols

KEYCODE_PLUS Key '+'
KEYCODE_MINUS Key '-'
KEYCODE_STAR Key '*'
KEYCODE_SLASH Key '/'
KEYCODE_EQUALS Key '='
KEYCODE_AT Key '@'
KEYCODE_POUND Key '#'
KEYCODE_APOSTROPHE Key ''' (单引号)
KEYCODE_BACKSLASH Key '\'
KEYCODE_COMMA Key ','
KEYCODE_PERIOD Key '.'
KEYCODE_LEFT_BRACKET Key '['
KEYCODE_RIGHT_BRACKET Key ']'
KEYCODE_SEMICOLON Key ';'
KEYCODE_GRAVE Key '`'
KEYCODE_SPACE Key Space

Numeric Keypad

KEYCODE_NUMPAD_0 Numeric Keypad Key '0'
KEYCODE_NUMPAD_1 Numeric Keypad Key '1'
KEYCODE_NUMPAD_2 Numeric Keypad Key '2'
KEYCODE_NUMPAD_3 Numeric Keypad Key '3'
KEYCODE_NUMPAD_4 Numeric Keypad Key '4'
KEYCODE_NUMPAD_5 Numeric Keypad Key '5'
KEYCODE_NUMPAD_6 Numeric Keypad Key '6'
KEYCODE_NUMPAD_7 Numeric Keypad Key '7'
KEYCODE_NUMPAD_8 Numeric Keypad Key '8'
KEYCODE_NUMPAD_9 Numeric Keypad Key '9'
KEYCODE_NUMPAD_ADD Numeric Keypad Key
KEYCODE_NUMPAD_SUBTRACT Numeric Keypad Key '-'
KEYCODE_NUMPAD_MULTIPLY Numeric Keypad Key '*'
KEYCODE_NUMPAD_DIVIDE Numeric Keypad Key '/'
KEYCODE_NUMPAD_EQUALS Numeric Keypad Key '='
KEYCODE_NUMPAD_COMMA Numeric Keypad Key ','
KEYCODE_NUMPAD_DOT Numeric Keypad Key '.'
KEYCODE_NUMPAD_LEFT_PAREN Numeric Keypad Key '('
KEYCODE_NUMPAD_RIGHT_PAREN Numeric Keypad Key ')'
KEYCODE_NUMPAD_ENTER Numeric Keypad Key 回车

Function Keys

KEYCODE_F1 Key F1
KEYCODE_F2 Key F2
KEYCODE_F3 Key F3
KEYCODE_F4 Key F4
KEYCODE_F5 Key F5
KEYCODE_F6 Key F6
KEYCODE_F7 Key F7
KEYCODE_F8 Key F8
KEYCODE_F9 Key F9
KEYCODE_F10 Key F10
KEYCODE_F11 Key F11
KEYCODE_F12 Key F12

Multimedia Keys

KEYCODE_MEDIA_PLAY Media Play Key
KEYCODE_MEDIA_STOP Media Stop Key
KEYCODE_MEDIA_PAUSE Media Pause Key
KEYCODE_MEDIA_PLAY_PAUSE Media Play/Pause Key
KEYCODE_MEDIA_FAST_FORWARD Media Fast Forward Key
KEYCODE_MEDIA_REWIND Media Rewind Key
KEYCODE_MEDIA_NEXT Media Next Track Key
KEYCODE_MEDIA_PREVIOUS Media Previous Track Key
KEYCODE_MEDIA_CLOSE Media Close Key
KEYCODE_MEDIA_EJECT Media Eject Key
KEYCODE_MEDIA_RECORD Media Record Key

Gamepad Key

KEYCODE_BUTTON_1 Gamepad Button #1
KEYCODE_BUTTON_2 Gamepad Button #2
KEYCODE_BUTTON_3 Gamepad Button #3
KEYCODE_BUTTON_4 Gamepad Button #4
KEYCODE_BUTTON_5 Gamepad Button #5
KEYCODE_BUTTON_6 Gamepad Button #6
KEYCODE_BUTTON_7 Gamepad Button #7
KEYCODE_BUTTON_8 Gamepad Button #8
KEYCODE_BUTTON_9 Gamepad Button #9
KEYCODE_BUTTON_10 Gamepad Button #10
KEYCODE_BUTTON_11 Gamepad Button #11
KEYCODE_BUTTON_12 Gamepad Button #12
KEYCODE_BUTTON_13 Gamepad Button #13
KEYCODE_BUTTON_14 Gamepad Button #14
KEYCODE_BUTTON_15 Gamepad Button #15
KEYCODE_BUTTON_16 Gamepad Button #16
KEYCODE_BUTTON_A Gamepad Button A
KEYCODE_BUTTON_B Gamepad Button B
KEYCODE_BUTTON_C Gamepad Button C
KEYCODE_BUTTON_X Gamepad Button X
KEYCODE_BUTTON_Y Gamepad Button Y
KEYCODE_BUTTON_Z Gamepad Button Z
KEYCODE_BUTTON_L1 Gamepad Button L1
KEYCODE_BUTTON_L2 Gamepad Button L2
KEYCODE_BUTTON_R1 Gamepad Button R1
KEYCODE_BUTTON_R2 Gamepad Button R2
KEYCODE_BUTTON_MODE Gamepad Button Mode
KEYCODE_BUTTON_SELECT Gamepad Button Select
KEYCODE_BUTTON_START Gamepad Button Start
KEYCODE_BUTTON_THUMBL Left Thumb Button
KEYCODE_BUTTON_THUMBR Right Thumb Button

Others

KEYCODE_NUM Key Number modifier
KEYCODE_INFO Key Info
KEYCODE_APP_SWITCH Key App switch
KEYCODE_BOOKMARK Key Bookmark
KEYCODE_AVR_INPUT Key A/V Receiver input
KEYCODE_AVR_POWER Key A/V Receiver power
KEYCODE_CAPTIONS Key Toggle captions
KEYCODE_CHANNEL_DOWN Key Channel down
KEYCODE_CHANNEL_UP Key Channel up
KEYCODE_CLEAR Key Clear
KEYCODE_DVR Key DVR
KEYCODE_ENVELOPE Key Envelope special function
KEYCODE_EXPLORER Key Explorer special function
KEYCODE_FORWARD Key Forward
KEYCODE_FORWARD_DEL Key Forward Delete
KEYCODE_FUNCTION Key Function modifier
KEYCODE_GUIDE Key Guide
KEYCODE_HEADSETHOOK Key Headset Hook
KEYCODE_META_LEFT Key Left Meta modifier
KEYCODE_META_RIGHT Key Right Meta modifier
KEYCODE_PICTSYMBOLS Key Picture Symbols modifier
KEYCODE_PROG_BLUE Key Blue“programmable”
KEYCODE_PROG_GREEN Key Green“programmable”
KEYCODE_PROG_RED Key Red“programmable”
KEYCODE_PROG_YELLOW Key Yellow“programmable”
KEYCODE_SETTINGS Key Settings
KEYCODE_SOFT_LEFT Key Soft Left
KEYCODE_SOFT_RIGHT Key Soft Right
KEYCODE_STB_INPUT Key Set-top-box input
KEYCODE_STB_POWER Key Set-top-box power
KEYCODE_SWITCH_CHARSET Key Switch Charset modifier
KEYCODE_SYM Key Symbol modifier
KEYCODE_SYSRQ Key System Request/Print Screen
KEYCODE_TV Key TV
KEYCODE_TV_INPUT Key TV input
KEYCODE_TV_POWER Key TV power
KEYCODE_WINDOW Key Window
KEYCODE_UNKNOWN Unknown Key

Introduction to Android KeyCode Reference Tool

Our Android KeyCode Reference Tool offers a comprehensive collection of Android KeyCode values for keyboard keys. This tool allows you to easily access and retrieve Android KeyCode values online.

Using our Android KeyCode Reference Tool is straightforward:

  • KeyCode Lookup: Quickly find the KeyCode value for any Android keyboard key.
  • Online Access: Conveniently access and retrieve Android KeyCode values online.

Key features of our Android KeyCode Reference Tool include:

  • Extensive KeyCode Collection: Access a wide range of Android KeyCode values for various keyboard keys.
  • Simple Interface: Easily search and retrieve Android KeyCode values for programming and development purposes.

Whether you are developing Android applications or working with Android devices, our Android KeyCode Reference Tool provides a valuable resource for obtaining KeyCode values.

Visit History:

Links: google