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 Escape Key 111
KEYCODE_DPAD_CENTER Directional Pad Center Key 23
KEYCODE_DPAD_UP Directional Pad Up Key 19
KEYCODE_DPAD_DOWN Directional Pad Down Key 20
KEYCODE_DPAD_LEFT Directional Pad Left Key 21
KEYCODE_DPAD_RIGHT Directional Pad Right Key 22
KEYCODE_MOVE_HOME Move Home Key 122
KEYCODE_MOVE_END Move End Key 123
KEYCODE_PAGE_UP Page Up Key 92
KEYCODE_PAGE_DOWN Page Down Key 93
KEYCODE_DEL Delete Key (Backspace) 67
KEYCODE_FORWARD_DEL Forward Delete Key 112
KEYCODE_INSERT Insert Key 124
KEYCODE_TAB Tab Key 61
KEYCODE_NUM_LOCK Num 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

Key Combinations

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

Symbol

KEYCODE_PLUS Key '+'
KEYCODE_MINUS Key '-'
KEYCODE_STAR Key '*'
KEYCODE_SLASH Key '/'
KEYCODE_EQUALS Key '='
KEYCODE_AT Key '@'
KEYCODE_POUND Key '#'
KEYCODE_APOSTROPHE Key ''' (Single quotation mark)
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 Space Bar

Numeric Keypad

KEYCODE_NUMPAD_0 The '0' key on the numpad
KEYCODE_NUMPAD_1 The '1' key on the numpad
KEYCODE_NUMPAD_2 The '2' key on the numpad
KEYCODE_NUMPAD_3 The '3' key on the numpad
KEYCODE_NUMPAD_4 The '4' key on the numpad
KEYCODE_NUMPAD_5 The '5' key on the numpad
KEYCODE_NUMPAD_6 The '6' key on the numpad
KEYCODE_NUMPAD_7 The '7' key on the numpad
KEYCODE_NUMPAD_8 The '8' key on the numpad
KEYCODE_NUMPAD_9 The '9' key on the numpad
KEYCODE_NUMPAD_ADD The '+' key on the numpad
KEYCODE_NUMPAD_SUBTRACT The '-' key on the numpad
KEYCODE_NUMPAD_MULTIPLY The '*' key on the numpad
KEYCODE_NUMPAD_DIVIDE The '/' key on the numpad
KEYCODE_NUMPAD_EQUALS The '=' key on the numpad
KEYCODE_NUMPAD_COMMA The ',' key on the numpad
KEYCODE_NUMPAD_DOT The '.' key on the numpad
KEYCODE_NUMPAD_LEFT_PAREN The '(' key on the numpad
KEYCODE_NUMPAD_RIGHT_PAREN The ')' key on the numpad
KEYCODE_NUMPAD_ENTER The 'Enter' key on the numpad

Function Keys

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

Media 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 Button

KEYCODE_BUTTON_1 Generic Gamepad Button #1
KEYCODE_BUTTON_2 Generic Gamepad Button #2
KEYCODE_BUTTON_3 Generic Gamepad Button #3
KEYCODE_BUTTON_4 Generic Gamepad Button #4
KEYCODE_BUTTON_5 Generic Gamepad Button #5
KEYCODE_BUTTON_6 Generic Gamepad Button #6
KEYCODE_BUTTON_7 Generic Gamepad Button #7
KEYCODE_BUTTON_8 Generic Gamepad Button #8
KEYCODE_BUTTON_9 Generic Gamepad Button #9
KEYCODE_BUTTON_10 Generic Gamepad Button #10
KEYCODE_BUTTON_11 Generic Gamepad Button #11
KEYCODE_BUTTON_12 Generic Gamepad Button #12
KEYCODE_BUTTON_13 Generic Gamepad Button #13
KEYCODE_BUTTON_14 Generic Gamepad Button #14
KEYCODE_BUTTON_15 Generic Gamepad Button #15
KEYCODE_BUTTON_16 Generic 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

Other

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

Android KeyCode Reference Tool

The Android KeyCode Reference Tool provides online access to Android KeyCode keyboard key codes, enabling users to retrieve KeyCode values and extract Android KeyCode information online.