New keycode definitions for HDMI-CEC
Following keys are added to be mapped to HDMI-CEC standard keys: KEYCODE_MEDIA_TOP_MENU KEYCODE_11 KEYCODE_12 KEYCODE_LAST_CHANNEL KEYCODE_TV_DATA_SERVICE Change-Id: Ie73cf4cd8355ced4753eb5bba0ea130b087dfc36
This commit is contained in:
parent
2fc72d1c02
commit
bc4e396d17
@ -269,6 +269,11 @@ enum {
|
|||||||
AKEYCODE_SLEEP = 223,
|
AKEYCODE_SLEEP = 223,
|
||||||
AKEYCODE_WAKEUP = 224,
|
AKEYCODE_WAKEUP = 224,
|
||||||
AKEYCODE_PAIRING = 225,
|
AKEYCODE_PAIRING = 225,
|
||||||
|
AKEYCODE_MEDIA_TOP_MENU = 226,
|
||||||
|
AKEYCODE_11 = 227,
|
||||||
|
AKEYCODE_12 = 228,
|
||||||
|
AKEYCODE_LAST_CHANNEL = 229,
|
||||||
|
AKEYCODE_TV_DATA_SERVICE = 230
|
||||||
|
|
||||||
// NOTE: If you add a new keycode here you must also add it to several other files.
|
// NOTE: If you add a new keycode here you must also add it to several other files.
|
||||||
// Refer to frameworks/base/core/java/android/view/KeyEvent.java for the full list.
|
// Refer to frameworks/base/core/java/android/view/KeyEvent.java for the full list.
|
||||||
|
@ -265,6 +265,11 @@ static const InputEventLabel KEYCODES[] = {
|
|||||||
DEFINE_KEYCODE(SLEEP),
|
DEFINE_KEYCODE(SLEEP),
|
||||||
DEFINE_KEYCODE(WAKEUP),
|
DEFINE_KEYCODE(WAKEUP),
|
||||||
DEFINE_KEYCODE(PAIRING),
|
DEFINE_KEYCODE(PAIRING),
|
||||||
|
DEFINE_KEYCODE(MEDIA_TOP_MENU),
|
||||||
|
DEFINE_KEYCODE(11),
|
||||||
|
DEFINE_KEYCODE(12),
|
||||||
|
DEFINE_KEYCODE(LAST_CHANNEL),
|
||||||
|
DEFINE_KEYCODE(TV_DATA_SERVICE),
|
||||||
|
|
||||||
{ NULL, 0 }
|
{ NULL, 0 }
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user