summaryrefslogtreecommitdiffstats
path: root/include/android
diff options
context:
space:
mode:
authorJoseph Cooper <josephcooper@google.com>2015-04-15 16:45:18 -0700
committerJoseph Cooper <josephcooper@google.com>2015-04-16 09:09:17 -0700
commite50376eef0cf3c38991b48b29fa99a9d071abf49 (patch)
treeeaa13b61e091d4d94fb56b834db2bed6520d5fb8 /include/android
parentb5b51bc4a63331797471f2775e4cc9fbfb8956ac (diff)
downloadframeworks_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/android')
-rw-r--r--include/android/keycodes.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/android/keycodes.h b/include/android/keycodes.h
index 75d0ab6..80e44c0 100644
--- a/include/android/keycodes.h
+++ b/include/android/keycodes.h
@@ -302,7 +302,11 @@ enum {
AKEYCODE_TV_CONTENTS_MENU = 256,
AKEYCODE_TV_MEDIA_CONTEXT_MENU = 257,
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.
// Refer to frameworks/base/core/java/android/view/KeyEvent.java for the full list.