Merge "Introduces navigation keycodes."
This commit is contained in:
commit
2fba96360e
@ -302,7 +302,11 @@ enum {
|
|||||||
AKEYCODE_TV_CONTENTS_MENU = 256,
|
AKEYCODE_TV_CONTENTS_MENU = 256,
|
||||||
AKEYCODE_TV_MEDIA_CONTEXT_MENU = 257,
|
AKEYCODE_TV_MEDIA_CONTEXT_MENU = 257,
|
||||||
AKEYCODE_TV_TIMER_PROGRAMMING = 258,
|
AKEYCODE_TV_TIMER_PROGRAMMING = 258,
|
||||||
AKEYCODE_HELP = 259
|
AKEYCODE_HELP = 259,
|
||||||
|
AKEYCODE_NAVIGATE_PREVIOUS = 260,
|
||||||
|
AKEYCODE_NAVIGATE_NEXT = 261,
|
||||||
|
AKEYCODE_NAVIGATE_IN = 262,
|
||||||
|
AKEYCODE_NAVIGATE_OUT = 263
|
||||||
|
|
||||||
// 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.
|
||||||
|
@ -299,6 +299,10 @@ static const InputEventLabel KEYCODES[] = {
|
|||||||
DEFINE_KEYCODE(TV_MEDIA_CONTEXT_MENU),
|
DEFINE_KEYCODE(TV_MEDIA_CONTEXT_MENU),
|
||||||
DEFINE_KEYCODE(TV_TIMER_PROGRAMMING),
|
DEFINE_KEYCODE(TV_TIMER_PROGRAMMING),
|
||||||
DEFINE_KEYCODE(HELP),
|
DEFINE_KEYCODE(HELP),
|
||||||
|
DEFINE_KEYCODE(NAVIGATE_PREVIOUS),
|
||||||
|
DEFINE_KEYCODE(NAVIGATE_NEXT),
|
||||||
|
DEFINE_KEYCODE(NAVIGATE_IN),
|
||||||
|
DEFINE_KEYCODE(NAVIGATE_OUT),
|
||||||
|
|
||||||
{ NULL, 0 }
|
{ NULL, 0 }
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user