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/Input.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/ui/Input.h') diff --git a/include/ui/Input.h b/include/ui/Input.h index 21baf32599..ee40b85d7b 100644 --- a/include/ui/Input.h +++ b/include/ui/Input.h @@ -73,7 +73,8 @@ namespace android { * policy decisions such as waking from device sleep. */ enum { - /* These flags originate in RawEvents and are generally set in the key map. */ + /* These flags originate in RawEvents and are generally set in the key map. + * See also labels for policy flags in KeycodeLabels.h. */ POLICY_FLAG_WAKE = 0x00000001, POLICY_FLAG_WAKE_DROPPED = 0x00000002, @@ -83,6 +84,7 @@ enum { POLICY_FLAG_ALT_GR = 0x00000020, POLICY_FLAG_MENU = 0x00000040, POLICY_FLAG_LAUNCHER = 0x00000080, + POLICY_FLAG_VIRTUAL = 0x00000100, POLICY_FLAG_RAW_MASK = 0x0000ffff, -- cgit v1.2.3-59-g8ed1b