OSDN Git Service

Support VIRTUAL flag in keyboard layouts.
authorJeff Brown <jeffbrown@google.com>
Wed, 21 May 2014 00:27:38 +0000 (17:27 -0700)
committerJeff Brown <jeffbrown@google.com>
Wed, 21 May 2014 00:29:30 +0000 (17:29 -0700)
This flag is used to provide haptic feedback for virtual hard keys.

Bug: 14319563
Change-Id: Ia0ca1acc8cfa00a42d1c04d279dfa59c6cc00f4d

include/input/InputEventLabels.h

index 36be4fc..1d67edf 100644 (file)
@@ -340,6 +340,7 @@ static const InputEventLabel LEDS[] = {
 };
 
 static const InputEventLabel FLAGS[] = {
+    DEFINE_FLAG(VIRTUAL),
     DEFINE_FLAG(FUNCTION),
 
     { NULL, 0 }