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
commite5f56fb1b4fd681e0d9d9b3524c945c8dfe00daa (patch)
treeef1609d627c0adef6df30c689b0d09c8fc193336 /include
parentecf9b681121d15758b84113c90f3b17697b44a47 (diff)
downloadframeworks_native-e5f56fb1b4fd681e0d9d9b3524c945c8dfe00daa.zip
frameworks_native-e5f56fb1b4fd681e0d9d9b3524c945c8dfe00daa.tar.gz
frameworks_native-e5f56fb1b4fd681e0d9d9b3524c945c8dfe00daa.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[] = {