From ea6892e02e10a57673a42f0922ad28694595dcaa Mon Sep 17 00:00:00 2001 From: Jeff Brown Date: Tue, 23 Aug 2011 17:31:25 -0700 Subject: Support BTN_TOOL_*TAP as synonyms for BTN_TOOL_FINGER. Bug: 5205301 Some drivers report one finger as BTN_TOOL_FINGER, two as BTN_TOOL_DOUBLETAP, three as BTN_TOOL_TRIPLETAP and four as BTN_TOOL_QUADTAP. Since we care about the tool type, we need to handle _DOUBLE/_TRIPLE/_QUAD tap in the same way we handle _FINGER. Change-Id: I8eb83d2a2bada9ac32d07619c7eea84e924316b8 --- services/input/InputReader.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'services/input/InputReader.h') diff --git a/services/input/InputReader.h b/services/input/InputReader.h index 76d77f1c1c2a..bad96dfbc7fa 100644 --- a/services/input/InputReader.h +++ b/services/input/InputReader.h @@ -596,6 +596,9 @@ private: bool mBtnToolAirbrush; bool mBtnToolMouse; bool mBtnToolLens; + bool mBtnToolDoubleTap; + bool mBtnToolTripleTap; + bool mBtnToolQuadTap; void clearButtons(); }; -- cgit v1.2.3-59-g8ed1b