본문 바로가기
SW Developer

안드로이드 키 이벤트 코드 값 android key event code value

by ashespia 2022. 5. 11.
SMALL

안드로이드 키 이벤트 코드 값 android key event code value

 

안드로이드 키 이벤트 코드 값 android key event code value

안드로이드 개발 중 OK 버튼 이벤트에 대한 디버깅을 찾을 경우가 있다. 

이때 안드로이드 키 이벤트 코드 값(android key event code value)을 안다면 좀 더 쉽게 디버깅을 가능하다. 

 

이하는 10진수 / 16진수 이벤트 코드 값 및 이름 표이다.

 

10진수 Dec 16진수 Hex 버튼 이름 Name
0 00 UNKNOWN
1 01 SOFT_LEFT 왼쪽
2 02 SOFT_RIGHT 오른쪽
3 03 HOME 홈 버튼
4 04 BACK 백키 뒤로
5 05 CALL
6 06 ENDCALL
7 07 0 숫자 
8 08 1 숫자
9 09 2 숫자
10 0a 3 숫자
11 0b 4 숫자
12 0c 5 숫자
13 0d 6 숫자
14 0e 7 숫자
15 0f 8 숫자
16 10 9 숫자 
17 11 STAR 별표
18 12 POUND 우물정자 샵키 #
19 13 DPAD_UP 
20 14 DPAD_DOWN
21 15 DPAD_LEFT
22 16 DPAD_RIGHT
23 17 DPAD_CENTER OK키
24 18 VOLUME_UP 볼륨키 업
25 19 VOLUME_DOWN 볼륨키 다운
26 1a POWER 전원키
27 1b CAMERA 카메라키
28 1c CLEAR

 

 

 

 

29 1d A
30 1e B
31 1f C
32 20 D
33 21 E
34 22 F
35 23 G
36 24 H
37 25 I
38 26 J
39 27 K
40 28 L
41 29 M
42 2a N
43 2b O
44 2c P
45 2d Q
46 2e R
47 2f S
48 30 T
49 31 U
50 32 V
51 33 W
52 34 X
53 35 Y
54 36 Z

 

 

 

 

55 37 COMMA
56 38 PERIOD
57 39 ALT_LEFT
58 3a ALT_RIGHT
59 3b SHIFT_LEFT
60 3c SHIFT_RIGHT
61 3d TAB
62 3e SPACE
63 3f SYM
64 40 EXPLORER
65 41 ENVELOPE
66 42 ENTER
67 43 DEL
68 44 GRAVE
69 45 MINUS
70 46 EQUALS
71 47 LEFT_BRACKET
72 48 RIGHT_BRACKET
73 49 BACKSLASH
74 4a SEMICOLON
75 4b APOSTROPHE
76 4c SLASH
77 4d AT
78 4e NUM
79 4f HEADSETHOOK
80 50 FOCUS
81 51 PLUS
82 52 MENU
83 53 NOTIFICATION
84 54 SEARCH
85 55 MEDIA_PLAY_PAUSE
86 56 MEDIA_STOP
87 57 MEDIA_NEXT
88 58 MEDIA_PREVIOUS
89 59 MEDIA_REWIND
90 5a MEDIA_FAST_FORWARD
91 5b MUTE
92 5c PAGE_UP
93 5d PAGE_DOWN
94 5e PICTSYMBOLS
95 5f SWITCH_CHARSET
96 60 BUTTON_A
97 61 BUTTON_B
98 62 BUTTON_C
99 63 BUTTON_X
100 64 BUTTON_Y
101 65 BUTTON_Z
102 66 BUTTON_L1
103 67 BUTTON_R1
104 68 BUTTON_L2
105 69 BUTTON_R2
106 6a BUTTON_THUMBL
107 6b BUTTON_THUMBR
108 6c BUTTON_START
109 6d BUTTON_SELECT
110 6e BUTTON_MODE
111 6f ESCAPE
112 70 FORWARD_DEL
113 71 CTRL_LEFT
114 72 CTRL_RIGHT
115 73 CAPS_LOCK
116 74 SCROLL_LOCK
117 75 META_LEFT
118 76 META_RIGHT
119 77 FUNCTION
120 78 SYSRQ
121 79 BREAK
122 7a MOVE_HOME
123 7b MOVE_END
124 7c INSERT
125 7d FORWARD
126 7e MEDIA_PLAY
127 7f MEDIA_PAUSE
128 80 MEDIA_CLOSE
129 81 MEDIA_EJECT
130 82 MEDIA_RECORD

 

 

 

 

131 83 F1
132 84 F2
133 85 F3
134 86 F4
135 87 F5
136 88 F6
137 89 F7
138 8a F8
139 8b F9
140 8c F10
141 8d F11
142 8e F12
143 8f NUM_LOCK
144 90 NUMPAD_0
145 91 NUMPAD_1
146 92 NUMPAD_2
147 93 NUMPAD_3
148 94 NUMPAD_4
149 95 NUMPAD_5
150 96 NUMPAD_6
151 97 NUMPAD_7
152 98 NUMPAD_8
153 99 NUMPAD_9
154 9a NUMPAD_DIVIDE
155 9b NUMPAD_MULTIPLY
156 9c NUMPAD_SUBTRACT
157 9d NUMPAD_ADD
158 9e NUMPAD_DOT
159 9f NUMPAD_COMMA
160 a0 NUMPAD_ENTER
161 a1 NUMPAD_EQUALS
162 a2 NUMPAD_LEFT_PAREN
163 a3 NUMPAD_RIGHT_PAREN
164 a4 VOLUME_MUTE
165 a5 INFO
166 a6 CHANNEL_UP
167 a7 CHANNEL_DOWN
168 a8 ZOOM_IN
169 a9 ZOOM_OUT
170 aa TV
171 ab WINDOW
172 ac GUIDE
173 ad DVR
174 ae BOOKMARK
175 af CAPTIONS
176 b0 SETTINGS
177 b1 TV_POWER
178 b2 TV_INPUT
179 b3 STB_POWER
180 b4 STB_INPUT
181 b5 AVR_POWER
182 b6 AVR_INPUT
183 b7 PROG_RED
184 b8 PROG_GREEN
185 b9 PROG_YELLOW
186 ba PROG_BLUE
187 bb APP_SWITCH
188 bc BUTTON_1

 

 

 

 

189 bd BUTTON_2
190 be BUTTON_3
191 bf BUTTON_4
192 c0 BUTTON_5
193 c1 BUTTON_6
194 c2 BUTTON_7
195 c3 BUTTON_8
196 c4 BUTTON_9
197 c5 BUTTON_10
198 c6 BUTTON_11
199 c7 BUTTON_12
200 c8 BUTTON_13
201 c9 BUTTON_14
202 ca BUTTON_15
203 cb BUTTON_16
204 cc LANGUAGE_SWITCH
205 cd MANNER_MODE
206 ce 3D_MODE
207 cf CONTACTS
208 d0 CALENDAR
209 d1 MUSIC
210 d2 CALCULATOR
211 d3 ZENKAKU_HANKAKU
212 d4 EISU
213 d5 MUHENKAN
214 d6 HENKAN
215 d7 KATAKANA_HIRAGANA
216 d8 YEN
217 d9 RO
218 da KANA
219 db ASSIST
220 dc BRIGHTNESS_DOWN
221 dd BRIGHTNESS_UP
222 de MEDIA_AUDIO_TRACK
223 df SLEEP
224 e0 WAKEUP
225 e1 PAIRING
226 e2 MEDIA_TOP_MENU
227 e3 11
228 e4 12
229 e5 LAST_CHANNEL
230 e6 TV_DATA_SERVICE
231 e7 VOICE_ASSIST
232 e8 TV_RADIO_SERVICE
233 e9 TV_TELETEXT
234 ea TV_NUMBER_ENTRY
235 eb TV_TERRESTRIAL_ANALOG
236 ec TV_TERRESTRIAL_DIGITAL
237 ed TV_SATELLITE
238 ee TV_SATELLITE_BS
239 ef TV_SATELLITE_CS
240 f0 TV_SATELLITE_SERVICE
241 f1 TV_NETWORK
242 f2 TV_ANTENNA_CABLE
243 f3 TV_INPUT_HDMI_1
244 f4 TV_INPUT_HDMI_2
245 f5 TV_INPUT_HDMI_3
246 f6 TV_INPUT_HDMI_4
247 f7 TV_INPUT_COMPOSITE_1
248 f8 TV_INPUT_COMPOSITE_2
249 f9 TV_INPUT_COMPONENT_1
250 fa TV_INPUT_COMPONENT_2
251 fb TV_INPUT_VGA_1
252 fc TV_AUDIO_DESCRIPTION
253 fd TV_AUDIO_DESCRIPTION_MIX_UP
254 fe TV_AUDIO_DESCRIPTION_MIX_DOWN
255 ff TV_ZOOM_MODE
256 100 TV_CONTENTS_MENU
257 101 TV_MEDIA_CONTEXT_MENU
258 102 TV_TIMER_PROGRAMMING
259 103 HELP
260 104 NAVIGATE_PREVIOUS
261 105 NAVIGATE_NEXT
262 106 NAVIGATE_IN
263 107 NAVIGATE_OUT
264 108 STEM_PRIMARY
265 109 STEM_1
266 10a STEM_2
267 10b STEM_3
268 10c DPAD_UP_LEFT
269 10d DPAD_DOWN_LEFT
270 10e DPAD_UP_RIGHT
271 10f DPAD_DOWN_RIGHT
272 110 MEDIA_SKIP_FORWARD
273 111 MEDIA_SKIP_BACKWARD
274 112 MEDIA_STEP_FORWARD
275 113 MEDIA_STEP_BACKWARD
276 114 SOFT_SLEEP
277 115 CUT
278 116 COPY
279 117 PASTE
280 118 SYSTEM_NAVIGATION_UP
281 119 SYSTEM_NAVIGATION_DOWN
282 11a SYSTEM_NAVIGATION_LEFT
283 11b SYSTEM_NAVIGATION_RIGHT
284 11c ALL_APPS
285 11d REFRESH
286 11e THUMBS_UP
287 11f THUMBS_DOWN
288 120 PROFILE_SWITCH

 

LIST

댓글