Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp330813pxb; Wed, 14 Apr 2021 16:59:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzDvd3g6k9l6BLN+rHEOPJxhUah9ltJGouMVbhb7dB8Wkw8Ap2fz/yThTqe3yTngZhgdnLz X-Received: by 2002:a17:907:9894:: with SMTP id ja20mr583923ejc.428.1618444792533; Wed, 14 Apr 2021 16:59:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618444792; cv=none; d=google.com; s=arc-20160816; b=PKV9iQxehfgqvKBbI1rQGoH6SepDRfzJdNcqAgRXuPebMVaEM8bK/Yzy7w+jv3a0Qj oIOorCuW8d5jdRXLYuYJUrgl7hARXrMNsF09UCzVeNXBvs1wNu4h5mMbzo1Qn1XdAuA1 UO3Ao7TZCkIm0YstT9KA0AEPVA0MVfXZ2AY313CaNbivEfMJN3G1X0tHSq6zYK1cYxS9 kiJOY+gZr6sDPeFuT87iQ8xrldj9R5vEbqPce9KP6d2uOeWhpZUrgfMVujV1yEn1KQnB 0em4hgcmCz2yTmyVaUH6Rd8fBVpROwa01Lqn42yBk6FwpSTxIW7p853qIvwg/xIlzH88 IZDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=ogkF02xDjKCY+nPoAVJIr3gHRbk/lsvW1oBSM89/YDg=; b=KoqHVBuRYNl77/K+AFo/ms+Fh7hNpgiSNpxLK0h3iNP3QdGgvehVVv1wkaKNaDdkUZ JAobBmetY896WXRTf+trr3bu4quL+86V7U6P8s0UssKoeJV9rIFm7c+YNibcEU/whCAg /9a2x6mLRKGE7j/4L1rysp3v7775vTcmW3H+KPRZKuDSpW3tJrhNiTO/qus9eQH4w5UZ u0+HS5gr/fsls6FhOG1Gfq87a5Be1O1Af0faASX8lsdqJ0dXotWY7/gDMYC88HRA8ymI 031aas/ZFwNpV2Kwq3GAI59Aa2GrlTL+UWMmbxETHkfo6i/TjUL7t7DXVvTyVQvWUYLz 8oyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@aruba.it header.s=a1 header.b=b+gWbmOS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id zm10si733688ejb.623.2021.04.14.16.59.28; Wed, 14 Apr 2021 16:59:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@aruba.it header.s=a1 header.b=b+gWbmOS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233096AbhDNLYi (ORCPT + 99 others); Wed, 14 Apr 2021 07:24:38 -0400 Received: from smtpcmd01-sp1.aruba.it ([62.149.158.218]:45732 "EHLO smtpcmd01-sp1.aruba.it" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350424AbhDNLYg (ORCPT ); Wed, 14 Apr 2021 07:24:36 -0400 Received: from [192.168.126.129] ([146.241.148.6]) by Aruba Outgoing Smtp with ESMTPSA id WdcyllWxJkdBBWdcyl2YpR; Wed, 14 Apr 2021 13:24:12 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aruba.it; s=a1; t=1618399452; bh=1QQRifXVR0oTRxBo0DxVJYGcPyQtnZXzwUZ3jWxWIcY=; h=Subject:To:From:Date:MIME-Version:Content-Type; b=b+gWbmOSEwN+GDOsMwEwTRGAgRBBjH8r7SECt2j2u+kZwtTxUcH5f60Kji2jLGbnO vl87sWp9da+o9pf+4H9yKw9MesHx0hnKmcgi3iX+NkaLRU+OG1IFII0UbZ8sBNZpKc ATRUR3ArDNm43X+b/z9Ta4xIJ4KJhDCUT2K6h5OowirDamzVVFD0BYicxRbXXQ1f9y AnO/sNhO+qUrhXfPlEebfZ9or+e288H5J8yq65xj2qOz9ALYiTEyiXr+RZSMM5lJOU blP2iHyUrmpNVD7OjUz19JROoeJHHw1iWHkNCJzThYFu9M3SwW19dLefYw1/OtR8ez /0qfTujDpSSkQ== Subject: Re: [PATCH v7 3/3] Input: add driver for the Hycon HY46XX touchpanel series To: Dmitry Torokhov Cc: Rob Herring , =?UTF-8?Q?Jonathan_Neusch=c3=a4fer?= , Henrik Rydberg , linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20210413144446.2277817-1-giulio.benetti@benettiengineering.com> <20210413144446.2277817-4-giulio.benetti@benettiengineering.com> From: Giulio Benetti Message-ID: Date: Wed, 14 Apr 2021 13:24:12 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfIHovaEG2odf866I67FeotfeLzP4bSdwkp7WLNi93RSPvdfq0exsyZ7wfUCuPFBehTO6h4l0GRJrDrrHTOyGOdUrrHUJe+F21PILFrqdQFH9dnbrSGd9 tGMTxeCQDfzrjhe5KCeKNjEtMcdRu1nQ/+aWi1zAQotiyNulEge3BtbxQdxWM/UP4JCySf/boexi/lhzCYIewVxlmOTN3/SRxXi0HxemxfB4qNorXEEiSrqG IROUAih0LkRXDTYCXVhaYtuMaEsiPxkDbKambtTYHxiNdf3q4S6sSdIrOPnkKKZFV5yeAMXvkMgiDzRjpdtkxu7v9pp3LIwFIR1ap/psv5MYL4m71LYxh0c7 m1uOtHSqu/Z62nEbHvS3+DemXtyjAVUyqKIa1XrARRONda+b5Lnj0L7Tdho/8gJNQN59k7Yh Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/14/21 7:44 AM, Dmitry Torokhov wrote: > Hi Giulio, > > On Tue, Apr 13, 2021 at 04:44:46PM +0200, Giulio Benetti wrote: >> + >> + input_mt_report_pointer_emulation(tsdata->input, true); > > For touchscreens it does not make much sense to report BTN_DOUBLETAP, > BTN_TRIPLETAP, etc, events (they are really for touchpads), so I changed > this to > > input_mt_report_pointer_emulation(tsdata->input, false); > > to only report ABS_X, ABS_Y, and BTN_TOUCH, and applied. > > Thanks. > Thank you, I've re-tested and it works correctly, I've answered to Peter Hutterer with what I've understood about that. Please correct me if I'm wrong. Thanks a lot for reviewing Best regards -- Giulio Benetti Benetti Engineering sas