diff options
author | Joseph Cooper <josephcooper@google.com> | 2015-04-15 16:45:18 -0700 |
---|---|---|
committer | Joseph Cooper <josephcooper@google.com> | 2015-04-16 09:09:17 -0700 |
commit | e50376eef0cf3c38991b48b29fa99a9d071abf49 (patch) | |
tree | eaa13b61e091d4d94fb56b834db2bed6520d5fb8 /include/input | |
parent | b5b51bc4a63331797471f2775e4cc9fbfb8956ac (diff) | |
download | frameworks_native-e50376eef0cf3c38991b48b29fa99a9d071abf49.zip frameworks_native-e50376eef0cf3c38991b48b29fa99a9d071abf49.tar.gz frameworks_native-e50376eef0cf3c38991b48b29fa99a9d071abf49.tar.bz2 |
Introduces navigation keycodes.
These four new navigation keycodes are intended to be used to
navigate a tree hierarchy or list of items. They should be used to
allow the user to advance forward or backward within a list of
sibling items, expand the currently selected item to navigate the
item's children, or back out from the current item to its parent
item or state.
Change-Id: I4781e9d7756ed00ca14d8d4c743da3cc0e68ea6c
Diffstat (limited to 'include/input')
-rw-r--r-- | include/input/InputEventLabels.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/input/InputEventLabels.h b/include/input/InputEventLabels.h index 9aa7425..3962001 100644 --- a/include/input/InputEventLabels.h +++ b/include/input/InputEventLabels.h @@ -299,6 +299,10 @@ static const InputEventLabel KEYCODES[] = { DEFINE_KEYCODE(TV_MEDIA_CONTEXT_MENU), DEFINE_KEYCODE(TV_TIMER_PROGRAMMING), DEFINE_KEYCODE(HELP), + DEFINE_KEYCODE(NAVIGATE_PREVIOUS), + DEFINE_KEYCODE(NAVIGATE_NEXT), + DEFINE_KEYCODE(NAVIGATE_IN), + DEFINE_KEYCODE(NAVIGATE_OUT), { NULL, 0 } }; |