From f013e1afd1e68af5e3b868c26a653bbfb39538f8 Mon Sep 17 00:00:00 2001 From: The Android Open Source Project Date: Wed, 17 Dec 2008 18:05:43 -0800 Subject: Code drop from //branches/cupcake/...@124589 --- include/ui/KeycodeLabels.h | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'include/ui/KeycodeLabels.h') diff --git a/include/ui/KeycodeLabels.h b/include/ui/KeycodeLabels.h index 747925de7054..53c118872814 100644 --- a/include/ui/KeycodeLabels.h +++ b/include/ui/KeycodeLabels.h @@ -107,12 +107,18 @@ static const KeycodeLabel KEYCODES[] = { { "MENU", 82 }, { "NOTIFICATION", 83 }, { "SEARCH", 84 }, + { "PLAYPAUSE", 85 }, + { "STOP", 86 }, + { "NEXTSONG", 87 }, + { "PREVIOUSSONG", 88 }, + { "REWIND", 89 }, + { "FORWARD", 90 }, // NOTE: If you add a new keycode here you must also add it to: // (enum KeyCode, in this file) - // java/android/android/view/KeyEvent.java + // frameworks/base/core/java/android/view/KeyEvent.java // tools/puppet_master/PuppetMaster.nav_keys.py - // apps/common/res/values/attrs.xml + // frameworks/base/core/res/res/values/attrs.xml { NULL, 0 } }; @@ -204,7 +210,13 @@ typedef enum KeyCode { kKeyCodePlus = 81, kKeyCodeMenu = 82, kKeyCodeNotification = 83, - kKeyCodeSearch = 84 + kKeyCodeSearch = 84, + kKeyCodePlayPause = 85, + kKeyCodeStop = 86, + kKeyCodeNextSong = 87, + kKeyCodePreviousSong = 88, + kKeyCodeRewind = 89, + kKeyCodeForward = 90 } KeyCode; static const KeycodeLabel FLAGS[] = { -- cgit v1.2.3-59-g8ed1b