Introduction
This article is to describe the Android AOSP key events for Oak remote control key mapping for the H200 STB.
The table below shows the OAK remote Android KeyEvent mapping.
Oak Remote button | Android keycode | Android KeyEvent |
---|---|---|
TV Power | - | - |
STB Power | 26 |
System key* |
AV | 173 |
KEYCODE_DVR# |
Mute | 164 |
System key* |
Rewind | 89 |
KEYCODE_MEDIA_REWIND |
Play | 126 |
KEYCODE_MEDIA_PLAY |
Fast Forward | 90 |
KEYCODE_MEDIA_FAST_FORWARD |
Skip Backward | 88 |
KEYCODE_MEDIA_PREVIOUS |
Pause | 127 |
KEYCODE_MEDIA_PAUSE |
Skip Forward | 274 |
KEYCODE_MEDIA_STEP_FORWARD |
Guide | 172 |
KEYCODE_GUIDE# |
P<P | 229 |
KEYCODE_LAST_CHANNEL |
Stop | 86 |
KEYCODE_MEDIA_STOP |
Record | 130 |
KEYCODE_MEDIA_RECORD |
Menu | 82 |
KEYCODE_MENU# |
Info | 165 |
KEYCODE_INFO |
Up | 19 |
KEYCODE_DPAD_UP |
Left | 21 |
KEYCODE_DPAD_LEFT |
OK | 23 |
KEYCODE_DPAD_CENTER |
Right | 22 |
KEYCODE_DPAD_RIGHT |
Back | 4 |
System key* |
Down | 20 |
KEYCODE_DPAD_DOWN |
X | 140 |
System key* |
VOL+ | 24 |
System key* |
VOL- | 25 |
System key* |
PAGE UP | 92 |
KEYCODE_PAGE_UP |
PAGE Down | 93 |
KEYCODE_PAGE_DOWN |
CH+ | 166 |
KEYCODE_CHANNEL_UP |
CH- | 167 |
KEYCODE_CHANNEL_DOWN |
Red | 183 |
KEYCODE_PROG_RED# |
Green | 184 |
KEYCODE_PROG_GREEN# |
Yellow | 185 |
KEYCODE_PROG_YELLOW# |
Blue | 186 |
KEYCODE_PROG_BLUE# |
Digit 1 | 8 |
KEYCODE_1 |
Digit 2 | 9 |
KEYCODE_2 |
Digit 3 | 10 |
KEYCODE_3 |
Digit 4 | 11 |
KEYCODE_4 |
Digit 5 | 12 |
KEYCODE_5 |
Digit 6 | 13 |
KEYCODE_6 |
Digit 7 | 14 |
KEYCODE_7 |
Digit 8 | 15 |
KEYCODE_8 |
Digit 9 | 16 |
KEYCODE_9 |
Text | 233 |
KEYCODE_TV_TELETEXT |
Digit 0 | 7 |
KEYCODE_0 |
TITLES | 175 |
KEYCODE_CAPTIONS |
Remark *: To receive the keys in Browser or Android APP, please use the INI parameter - keycode.remap.generic (see here for details)
Remark#: To receive the keys in Browser or Android APP, please use the INI parameter - globalkey.xxx (see here for details)
Comments
0 comments
Article is closed for comments.