From nobody Sat Feb 17 10:20:49 2024 X-Original-To: freebsd-x11@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TcPvq2KkPz59xLn for ; Sat, 17 Feb 2024 10:20:55 +0000 (UTC) (envelope-from freebsd@grem.de) Received: from mail.evolve.de (mail.evolve.de [213.239.217.29]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.evolve.de", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TcPvp4Pt2z40vg for ; Sat, 17 Feb 2024 10:20:54 +0000 (UTC) (envelope-from freebsd@grem.de) Authentication-Results: mx1.freebsd.org; none Received: by mail.evolve.de (OpenSMTPD) with ESMTP id 0cf8df4e; Sat, 17 Feb 2024 10:20:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=grem.de; h=content-type :content-transfer-encoding:mime-version:subject:from:in-reply-to :date:cc:message-id:references:to; s=20180501; bh=dL7rMgvNujJiLT IUQjXRUXI6V34=; b=ZRKbbSEVI0PlPTzLBOctlYCdxud4hOWFrGWyTS7c85Fxa4 JRwjPiBGmiEBso4tcpgURzvcfN0bW6rzhmfk8/TNtgMnhta2Qk/IRuA4Gr3FA56y GtVEoNIREgdEKJutlXFe39luxsEZI4Npf/WFtElgjnGUb/JqEX/mEE48PCq8UbL4 iyNgpfgxWCBJBXj7jx3Id1bBHFnffrFnwkalQhJEGXmD+4XHMOEq11BXVrkI4lx2 ehWfUU8QlW/vBGSq86matEph8YzcGKQ+a6LtY4uWpD9ycyU5U2EwEWwzvRbzRr9q 9kBmukGgVlZzXK/JLSN5SKSSvOdrRGgq0p8v3LHQ== DomainKey-Signature: a=rsa-sha1; c=nofws; d=grem.de; h=content-type :content-transfer-encoding:mime-version:subject:from:in-reply-to :date:cc:message-id:references:to; q=dns; s=20180501; b=XvvbC4dd Y5OwpuOYGfbrWmvsl0OH+rJ0nAyyZdVqlU3LBM2gwB6M8g/yE6JSYQOg1RxCpzA7 Oq0xNoVPad+HgDvuNEpa9/cwUhQ8DqEuSBpjci065DZR7ynLsj5fR0R0QM/boeYI jpA7MsB2UK84C8IvlApiMdMOASxz1yclKdpMgnkkREUAQxkloYdiWIHp7Z58KQyh H3N+IE9qDslnJLpCs/n1oebx1sy8nTJDqXwr/d+2arr0Sp+u2tT8eZtkhSfY/9+N jj+ZAHC79PHGuQhFCqPvt3+EyysGsMaMaZkXy/PKc8B77SUYGYKOw+uLhAcokOSm qsPnkav//EsJOw== Received: by mail.evolve.de (OpenSMTPD) with ESMTPSA id da0bc01c (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sat, 17 Feb 2024 10:20:51 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: X11 List-Archive: https://lists.freebsd.org/archives/freebsd-x11 List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-x11@freebsd.org X-BeenThere: freebsd-x11@freebsd.org Mime-Version: 1.0 (1.0) Subject: Re: Touch screen zoom - any method to disable? From: Michael Gmelin In-Reply-To: <20240217111026.70b70ac5@zeta.dino.sk> Date: Sat, 17 Feb 2024 11:20:49 +0100 Cc: freebsd-x11@freebsd.org Message-Id: <2D733E37-4FC3-4CE9-93BB-973A130EBB3A@grem.de> References: <20240217111026.70b70ac5@zeta.dino.sk> To: Milan Obuch X-Mailer: iPhone Mail (20H307) X-Spamd-Bar: ---- X-Rspamd-Queue-Id: 4TcPvp4Pt2z40vg X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:24940, ipnet:213.239.192.0/18, country:DE] > On 17. Feb 2024, at 11:10, Milan Obuch wrote: >=20 > =EF=BB=BFOn Fri, 16 Feb 2024 18:07:22 +0100 > Michael Gmelin wrote: >=20 >>>> On 16. Feb 2024, at 13:35, Milan Obuch wrote: >>>=20 >>> =EF=BB=BFOn Fri, 16 Feb 2024 13:04:14 +0100 >>> Michael Gmelin wrote: >>>=20 >>>>>> On 16. Feb 2024, at 12:46, Milan Obuch >>>>>> wrote: =20 >>>>>=20 >>>>> =EF=BB=BFHi, >>>>>=20 >>>>> I have a terminal with touch screen running luakit with custom >>>>> application. Basically, it works as intended, however, sometimes >>>>> user unknowingly zooms into part of screen. >>>>>=20 >>>>> While relatively easy, all that's necessary is unzoom it using two >>>>> fingers (the same way as used on smartphones), it scares this >>>>> user a bit. So the best way to handle it would be not allowing >>>>> zoom to occur. >>>>>=20 >>>>> Is there a method to do this? Some configuration of X? My setup >>>>> uses webcamd to create event file for touch screen and libinput >>>>> driver to handle input event in X. =20 >>>>=20 >>>> Can you share the output of >>>>=20 >>>> xinput list >>>>=20 >>>> and for each of the devices shown >>>>=20 >>>> xinput list-props device >>>>=20 >>>> Cheers >>>>=20 >>>=20 >>> At the moment, not for the real device, only for my workstation >>> which shares similar configuration. However, the 'issue' of zoom is >>> the same, so I hope any outcome would be relevant. >>>=20 >>> Here, 'xinput list' shows >>>=20 >>> =E2=8E=A1 Virtual core pointer id=3D2 [master >>> pointer (3)] =E2=8E=9C =E2=86=B3 Virtual core XTEST pointer >>> id=3D4 [slave pointer (2)] =E2=8E=9C =E2=86=B3 System mouse >>> id=3D6 [slave pointer (2)] =E2=8E=9C =E2=86=B3 Composi= te USB PS2 >>> Converter USB to PS2 Adaptor v1.09 id=3D11 [slave pointer >>> (2)] =E2=8E=9C =E2=86=B3 AcerA Bell T231HlTouchScreen i= d=3D12 >>> [slave pointer (2)] =E2=8E=A3 Virtual core keyboard >>> id=3D3 [master keyboard (2)] =E2=86=B3 Virtual core XTEST keyboard >>> id=3D5 [slave keyboard (3)] =E2=86=B3 System keyboard multipl= exer >>> id=3D7 [slave keyboard (3)] =E2=86=B3 Power Button >>> id=3D8 [slave keyboard (3)] =E2=86=B3 AT keyb= oard >>> id=3D9 [slave keyboard (3)] =E2=86=B3= >>> Composite USB PS2 Converter USB to PS2 Adaptor v1.09 id=3D10 >>> [slave keyboard (3)] >>>=20 >>> and 'xinput list-props ' for all device listed (in >>> numerical id order) is attached. (Far easier than handling mail >>> wrapping issues.) =20 >>=20 >> Ok, this is a wild shot, but does >>=20 >> xinput disable 10 >>=20 >> help? >>=20 >=20 > No. Actually, it is my main keyboard device, PS/2 connected via KVM > switch via USB to PS/2 converter, and disabling it just disabled > keyboard input (I have spare USB keyboard here so I was prepared for > this, I was able to enable it after test). Zoom via touchscreen two > finger gesture still worked (and unzoom as well). Could you run xev while pinching and see which events are generated? Cheers=20=