summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChih-Wei Huang <cwhuang@linux.org.tw>2009-05-27 15:52:50 +0800
committerJean-Baptiste Queru <jbq@google.com>2010-04-02 14:39:20 -0700
commit4fedd80c1d3997d62073518973b1fe09862ebaa5 (patch)
treef2fd4ba7050efc348b5bd3789c34af21b0dbaa0d /include
parentef9d148ad63e79b7ea1ecad49163f33a7d37aea1 (diff)
downloadframeworks_base-4fedd80c1d3997d62073518973b1fe09862ebaa5.zip
frameworks_base-4fedd80c1d3997d62073518973b1fe09862ebaa5.tar.gz
frameworks_base-4fedd80c1d3997d62073518973b1fe09862ebaa5.tar.bz2
Add keycodes PageUp and PageDown
This is useful for applications like web browser. Change-Id: Ie9262d5b75de87ecd0971407a7c3ce9aa6e4998e
Diffstat (limited to 'include')
-rw-r--r--include/ui/KeycodeLabels.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/ui/KeycodeLabels.h b/include/ui/KeycodeLabels.h
index 571e47b..749155e 100644
--- a/include/ui/KeycodeLabels.h
+++ b/include/ui/KeycodeLabels.h
@@ -114,6 +114,8 @@ static const KeycodeLabel KEYCODES[] = {
{ "MEDIA_REWIND", 89 },
{ "MEDIA_FAST_FORWARD", 90 },
{ "MUTE", 91 },
+ { "PAGE_UP", 92 },
+ { "PAGE_DOWN", 93 },
// NOTE: If you add a new keycode here you must also add it to:
// (enum KeyCode, in this file)
@@ -218,7 +220,9 @@ typedef enum KeyCode {
kKeyCodePreviousSong = 88,
kKeyCodeRewind = 89,
kKeyCodeForward = 90,
- kKeyCodeMute = 91
+ kKeyCodeMute = 91,
+ kKeyCodePageUp = 92,
+ kKeyCodePageDown = 93
} KeyCode;
static const KeycodeLabel FLAGS[] = {