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
commit956c0fb2386cb0cf92e08b199c706ed3a044ad1b (patch)
tree3c9dfcd253b5a7de7603d24455c1d1d80df5c980 /include/ui/KeycodeLabels.h
parentaa2d67d4b750050f75eac73cdba6ed647cd8bfd2 (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 c8d6ffcbf8..f71d9cdf4d 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 }
};