From 956c0fb2386cb0cf92e08b199c706ed3a044ad1b Mon Sep 17 00:00:00 2001 From: Jeff Brown Date: Fri, 1 Oct 2010 14:55:30 -0700 Subject: Support haptic feedback for virtual keys defined in key layout. Change-Id: I83e4108a87332692e03791dc066206becbc7941f --- include/ui/KeycodeLabels.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/ui/KeycodeLabels.h') 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 } }; -- cgit v1.2.3-59-g8ed1b