summaryrefslogtreecommitdiff
path: root/include/ui/KeycodeLabels.h
diff options
context:
space:
mode:
author Jeff Brown <jeffbrown@google.com> 2010-10-01 16:09:58 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2010-10-01 16:09:58 -0700
commit9e32a438fd87180692da55197972ecddb1a731d9 (patch)
tree4ede08da67c10798ea805d2b0a371392e1ba69a9 /include/ui/KeycodeLabels.h
parent9430f9d37ec169ce0654bc8950adb66ac974b761 (diff)
parent0eaf3931a31c29f3a3883aab426b595c231c2a58 (diff)
Merge "Support haptic feedback for virtual keys defined in key layout." into gingerbread
Diffstat (limited to 'include/ui/KeycodeLabels.h')
-rwxr-xr-xinclude/ui/KeycodeLabels.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ui/KeycodeLabels.h b/include/ui/KeycodeLabels.h
index c8d6ffcbf809..f71d9cdf4d87 100755
--- a/include/ui/KeycodeLabels.h
+++ b/include/ui/KeycodeLabels.h
@@ -142,6 +142,7 @@ static const KeycodeLabel KEYCODES[] = {
{ NULL, 0 }
};
+// See also policy flags in Input.h.
static const KeycodeLabel FLAGS[] = {
{ "WAKE", 0x00000001 },
{ "WAKE_DROPPED", 0x00000002 },
@@ -151,6 +152,7 @@ static const KeycodeLabel FLAGS[] = {
{ "ALT_GR", 0x00000020 },
{ "MENU", 0x00000040 },
{ "LAUNCHER", 0x00000080 },
+ { "VIRTUAL", 0x00000100 },
{ NULL, 0 }
};