summaryrefslogtreecommitdiff
path: root/include/ui/KeycodeLabels.h
diff options
context:
space:
mode:
author Jeff Brown <jeffbrown@google.com> 2010-10-01 14:55:30 -0700
committer Jeff Brown <jeffbrown@google.com> 2010-10-01 15:08:56 -0700
commit0eaf3931a31c29f3a3883aab426b595c231c2a58 (patch)
treee79493c39fd735a3ff237fa43a1633abd5ef9910 /include/ui/KeycodeLabels.h
parent10e2120bdd2d99e100db187d49ac6a8495c7f956 (diff)
Support haptic feedback for virtual keys defined in key layout.
Change-Id: I83e4108a87332692e03791dc066206becbc7941f
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 }
};