Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp639112rwr; Thu, 27 Apr 2023 06:24:30 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4lh3QuepmlK+YtAIykX33BcIW+BsivK6v+qRFVMgrpvLDjZyPWY7nxunIUxY1YrLjcWLPZ X-Received: by 2002:a05:6a00:2d93:b0:63d:344c:f123 with SMTP id fb19-20020a056a002d9300b0063d344cf123mr2222923pfb.1.1682601870114; Thu, 27 Apr 2023 06:24:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682601870; cv=none; d=google.com; s=arc-20160816; b=B0VsNas0EC+9LIWhagz/NVP5tKNX4stEDlCbzwRQpjE52ZmK3rJWqFdemSRXPDFlLI g5ACgCRLaKLhQEb8fbTpEpV5ys6En0X4VU7JOjRltCMT1ypjIvNxg4JcyvNuHZOzdhYB iSIEUIOemaK3SWwCSKzPbcerHKWTzGPcjzuuQzPohrc984RseB66GpQAv30NOEcbt7wR 8+sjo4CaBBGvRnbPyv50jQ9GhlnQ/kXaO0EEsx6NS2fkobE5553xrARfVjL6CeJr314a ikrAzrbBt24Lf+1UsHtrnATwxHGaarMFvTkGEecp4p6Zru4A3EMdzOvM4CQMmspwpUxf nTlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Q2nKoZvt8N7LqYBmdBABrzailml1kvoxUqiS++FYAV8=; b=niB+Pf/rnWOpkg248wg2prusFz4VXuCpB0zsbAFcuUmRIz2d80E5NnPUsY4C4anGOd NO+sLsOqvV1Vt0+A9xCRxTNNOSnOWuHWwwliH8l2XElt1Wq80YqzcfvMLqI6bXKRgQHT 2qBhdvfmBTB2utzzQxh3RHpkmhyNWk6P5k3XA1VbDUOnX2xy27F4QRutWsIhNliLnyDX JKUCz2B7Gt8VsgvujecTBciySMsgjf3WXDnMSvZziWGXQC0APHbivTEEz8wX+dgPFA9u J2veuj1PhoypfCC7M1RImCDBQI7yMhyG0kly/itKojdLs0JdP5zBHg1D9URkqW7pTe3y 5vPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ucw.cz header.s=gen1 header.b=c37fUE6a; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ucw.cz Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b13-20020aa78ecd000000b0063d27f81f05si19374589pfr.247.2023.04.27.06.24.16; Thu, 27 Apr 2023 06:24:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ucw.cz header.s=gen1 header.b=c37fUE6a; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ucw.cz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243795AbjD0NPk (ORCPT + 99 others); Thu, 27 Apr 2023 09:15:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37670 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243466AbjD0NPf (ORCPT ); Thu, 27 Apr 2023 09:15:35 -0400 Received: from jabberwock.ucw.cz (jabberwock.ucw.cz [46.255.230.98]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9CEF84495; Thu, 27 Apr 2023 06:15:22 -0700 (PDT) Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 7172C1C0D22; Thu, 27 Apr 2023 15:15:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucw.cz; s=gen1; t=1682601320; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Q2nKoZvt8N7LqYBmdBABrzailml1kvoxUqiS++FYAV8=; b=c37fUE6a0M9uFWN2LlcazPiUTJM3Hp8dmgmsfw2+FasKoOGIYrgBW+E2R6rUHWfhfcUa7j 2SXrN0bd5BV6eLYhp36Ye/u2gdrP42DF9n2uQr114LiY+GyHyeq7y0wfwyBH6cJ+YojcG8 Y0mba4PstW7od0yu81hagZQbHLTSpCE= Date: Thu, 27 Apr 2023 15:15:19 +0200 From: Pavel Machek To: Michael Riesch Cc: Javier Carrasco , phone-devel@vger.kernel.org, linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Dmitry Torokhov , Rob Herring , Krzysztof Kozlowski , Henrik Rydberg , Ulf Hansson , Hans Verkuil , Stephen Boyd , Sebastian Reichel , Linus Walleij , Jonathan Cameron , Uwe Kleine-g , Bastian Hecht Subject: Re: [RFC v1 0/4] Input: support virtual objects on touchscreens Message-ID: References: <20230425115049.870003-1-javier.carrasco@wolfvision.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="CwltbjgpA33UBO1n" Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --CwltbjgpA33UBO1n Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > >=20 > >> Some touchscreens are shipped with a physical layer on top of them whe= re > >> a number of buttons and a resized touchscreen surface might be > >> available. > >=20 > > Yes, it is quite comon, for example Motorola Droid 4 has 4 virtual > > buttons below touchscreen. >=20 > Are those buttons configurable in some way? Or do they have a fixed purpo= se? Fixed. > How does Android handle those buttons, BTW? No idea. > > One question is if this should be handled inside the kernel. It will > > make it compatible with existing software, but it will also reduce > > flexibility. >=20 > I would say that it should be described in device tree if the purpose is > fixed. For example, if there is no display behind the touch screen at a > certain point but a printed sheet (e.g., with a home or return symbol) > then it is clear that this button is not going to change. In such a case > I doubt that flexibility is required. I agree it should be in the device tree. AFAICT hardware can do drags between the buttons, and drag between the buttons and touchscreen. Turning it into buttons prevents that. Plus, real buttons can do simultaneous presses on all of them, touchscreens will have problems with that. Best regards, Pavel --=20 People of Russia, stop Putin before his war on Ukraine escalates. --CwltbjgpA33UBO1n Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRPfPO7r0eAhk010v0w5/Bqldv68gUCZEp1ZwAKCRAw5/Bqldv6 8oX2AKCHvc05pxAHX0VL5xbfmkbx9sLhkACfesnbnxpyU4K1Q08cSevtLEkKtlg= =80om -----END PGP SIGNATURE----- --CwltbjgpA33UBO1n--