Android Keycodes by Code


CodeNameAPI
0UNKNOWN1
1SOFT_LEFT
2SOFT_RIGHT
3HOME
4BACK
5CALL
6ENDCALL
70
81
92
103
114
125
136
147
158
169
17STAR
18POUND
19DPAD_UP
20DPAD_DOWN
21DPAD_LEFT
22DPAD_RIGHT
23DPAD_CENTER
24VOLUME_UP
25VOLUME_DOWN
26POWER
27CAMERA
28CLEAR
29A
30B
31C
32D
33E
34F
35G
36H
37I
38J
39K
40L
41M
42N
43O
44P
45Q
46R
47S
48T
49U
50V
51W
52X
53Y
54Z
55COMMA
56PERIOD
57ALT_LEFT
58ALT_RIGHT
59SHIFT_LEFT
60SHIFT_RIGHT
61TAB
62SPACE
63SYM
64EXPLORER
65ENVELOPE
66ENTER
67DEL
68GRAVE
69MINUS
70EQUALS
71LEFT_BRACKET
72RIGHT_BRACKET
73BACKSLASH
74SEMICOLON
75APOSTROPHE
76SLASH
77AT
78NUM
79HEADSETHOOK
80FOCUS
81PLUS
82MENU
83NOTIFICATION
84SEARCH
85MEDIA_PLAY_PAUSE3
86MEDIA_STOP
87MEDIA_NEXT
88MEDIA_PREVIOUS
89MEDIA_REWIND
90MEDIA_FAST_FORWARD
91MUTE
92PAGE_UP9
93PAGE_DOWN
94PICTSYMBOLS
95SWITCH_CHARSET
96BUTTON_A
97BUTTON_B
98BUTTON_C
99BUTTON_X
100BUTTON_Y
101BUTTON_Z
102BUTTON_L1
103BUTTON_R1
104BUTTON_L2
105BUTTON_R2
106BUTTON_THUMBL
107BUTTON_THUMBR
108BUTTON_START
109BUTTON_SELECT
110BUTTON_MODE
111ESCAPE11
112FORWARD_DEL
113CTRL_LEFT
114CTRL_RIGHT
115CAPS_LOCK
116SCROLL_LOCK
117META_LEFT
118META_RIGHT
119FUNCTION
120SYSRQ
121BREAK
122MOVE_HOME
123MOVE_END
124INSERT
125FORWARD
126MEDIA_PLAY
127MEDIA_PAUSE
128MEDIA_CLOSE
129MEDIA_EJECT
130MEDIA_RECORD
131F1
132F2
133F3
134F4
135F5
136F6
137F7
138F8
139F9
140F10
141F11
142F12
143NUM_LOCK
144NUMPAD_0
145NUMPAD_1
146NUMPAD_2
147NUMPAD_3
148NUMPAD_4
149NUMPAD_5
150NUMPAD_6
151NUMPAD_7
152NUMPAD_8
153NUMPAD_9
154NUMPAD_DIVIDE
155NUMPAD_MULTIPLY
156NUMPAD_SUBTRACT
157NUMPAD_ADD
158NUMPAD_DOT
159NUMPAD_COMMA
160NUMPAD_ENTER
161NUMPAD_EQUALS
162NUMPAD_LEFT_PAREN
163NUMPAD_RIGHT_PAREN
164VOLUME_MUTE
165INFO
166CHANNEL_UP
167CHANNEL_DOWN
168ZOOM_IN
169ZOOM_OUT
170TV
171WINDOW
172GUIDE
173DVR
174BOOKMARK
175CAPTIONS
176SETTINGS
177TV_POWER
178TV_INPUT
179STB_POWER
180STB_INPUT
181AVR_POWER
182AVR_INPUT
183PROG_RED
184PROG_GREEN
185PROG_YELLOW
186PROG_BLUE
187APP_SWITCH
188BUTTON_112
189BUTTON_2
190BUTTON_3
191BUTTON_4
192BUTTON_5
193BUTTON_6
194BUTTON_7
195BUTTON_8
196BUTTON_9
197BUTTON_10
198BUTTON_11
199BUTTON_12
200BUTTON_13
201BUTTON_14
202BUTTON_15
203BUTTON_16
204LANGUAGE_SWITCH14
205MANNER_MODE
2063D_MODE
207CONTACTS15
208CALENDAR
209MUSIC
210CALCULATOR
211ZENKAKU_HANKAKU16
212EISU
213MUHENKAN
214HENKAN
215KATAKANA_HIRAGANA
216YEN
217RO
218KANA
219ASSIST
220BRIGHTNESS_DOWN18
221BRIGHTNESS_UP
222MEDIA_AUDIO_TRACK19
223SLEEP20
224WAKEUP
225PAIRING21
226MEDIA_TOP_MENU
22711
22812
229LAST_CHANNEL
230TV_DATA_SERVICE
231VOICE_ASSIST
232TV_RADIO_SERVICE
233TV_TELETEXT
234TV_NUMBER_ENTRY
235TV_TERRESTRIAL_ANALOG
236TV_TERRESTRIAL_DIGITAL
237TV_SATELLITE
238TV_SATELLITE_BS
239TV_SATELLITE_CS
240TV_SATELLITE_SERVICE
241TV_NETWORK
242TV_ANTENNA_CABLE
243TV_INPUT_HDMI_1
244TV_INPUT_HDMI_2
245TV_INPUT_HDMI_3
246TV_INPUT_HDMI_4
247TV_INPUT_COMPOSITE_1
248TV_INPUT_COMPOSITE_2
249TV_INPUT_COMPONENT_1
250TV_INPUT_COMPONENT_2
251TV_INPUT_VGA_1
252TV_AUDIO_DESCRIPTION
253TV_AUDIO_DESCRIPTION_MIX_UP
254TV_AUDIO_DESCRIPTION_MIX_DOWN
255TV_ZOOM_MODE
256TV_CONTENTS_MENU
257TV_MEDIA_CONTEXT_MENU
258TV_TIMER_PROGRAMMING
259HELP
260NAVIGATE_PREVIOUS23
261NAVIGATE_NEXT
262NAVIGATE_IN
263NAVIGATE_OUT
264STEM_PRIMARY24
265STEM_1
266STEM_2
267STEM_3
268DPAD_UP_LEFT
269DPAD_DOWN_LEFT
270DPAD_UP_RIGHT
271DPAD_DOWN_RIGHT
272MEDIA_SKIP_FORWARD
273MEDIA_SKIP_BACKWARD
274MEDIA_STEP_FORWARD
275MEDIA_STEP_BACKWARD
276SOFT_SLEEP
277CUT
278COPY
279PASTE
280SYSTEM_NAVIGATION_UP25
281SYSTEM_NAVIGATION_DOWN
282SYSTEM_NAVIGATION_LEFT
283SYSTEM_NAVIGATION_RIGHT

Updated November 22, 2017