From patchwork Sat Mar 20 22:18:06 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Henrik Rydberg X-Patchwork-Id: 87190 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o2KMGIWQ001931 for ; Sat, 20 Mar 2010 22:19:59 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752283Ab0CTWT7 (ORCPT ); Sat, 20 Mar 2010 18:19:59 -0400 Received: from ch-smtp02.sth.basefarm.net ([80.76.149.213]:57417 "EHLO ch-smtp02.sth.basefarm.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752246Ab0CTWT6 (ORCPT ); Sat, 20 Mar 2010 18:19:58 -0400 Received: from c83-248-196-134.bredband.comhem.se ([83.248.196.134]:51165 helo=alnilam) by ch-smtp02.sth.basefarm.net with smtp (Exim 4.68) (envelope-from ) id 1Nt715-0001hk-8J; Sat, 20 Mar 2010 23:19:38 +0100 Received: by alnilam (sSMTP sendmail emulation); Sat, 20 Mar 2010 23:18:20 +0100 From: "Henrik Rydberg" To: Dmitry Torokhov Cc: Andrew Morton , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Henrik Rydberg Subject: [PATCH] input: mt: clarify the no-finger event Date: Sat, 20 Mar 2010 23:18:06 +0100 Message-Id: <1269123486-2621-1-git-send-email-rydberg@euromail.se> X-Mailer: git-send-email 1.6.3.3 X-Originating-IP: 83.248.196.134 X-Scan-Result: No virus found in message 1Nt715-0001hk-8J. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1Nt715-0001hk-8J b566bcc121e80b1375525bc77e22075d Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Sat, 20 Mar 2010 22:19:59 +0000 (UTC) diff --git a/Documentation/input/multi-touch-protocol.txt b/Documentation/input/multi-touch-protocol.txt index 8490480..eacb226 100644 --- a/Documentation/input/multi-touch-protocol.txt +++ b/Documentation/input/multi-touch-protocol.txt @@ -68,6 +68,22 @@ like: SYN_MT_REPORT SYN_REPORT +Here is the sequence after lifting one of the fingers: + + ABS_MT_POSITION_X + ABS_MT_POSITION_Y + SYN_MT_REPORT + SYN_REPORT + +And here is the sequence after lifting the remaining finger: + + SYN_MT_REPORT + SYN_REPORT + +If the driver reports one of BTN_TOUCH or ABS_PRESSURE in addition to the +ABS_MT events, the last SYN_MT_REPORT event may be omitted. Otherwise, the +last SYN_REPORT will be dropped by the input core, resulting in no +zero-finger event reaching userland. Event Semantics ---------------