Re: Touch screen zoom - any method to disable?

Michael Gmelin <[email protected]>
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]>

> On 16. Feb 2024, at 13:35, Milan Obuch <[email protected]> wrote:
> 
> On Fri, 16 Feb 2024 13:04:14 +0100
> Michael Gmelin <[email protected]> wrote:
> 
>>>> On 16. Feb 2024, at 12:46, Milan Obuch <[email protected]> wrote:
>>> 
>>> Hi,
>>> 
>>> 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.
>>> 
>>> 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.
>>> 
>>> 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.  
>> 
>> Can you share the output of
>> 
>>  xinput list
>> 
>> and for each of the devices shown
>> 
>>  xinput list-props device
>> 
>> Cheers
>> 
> 
> 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.
> 
> Here, 'xinput list' shows
> 
> ⎡ Virtual core pointer                        id=2    [master pointer  (3)]
> ⎜   ↳ Virtual core XTEST pointer                  id=4    [slave  pointer  (2)]
> ⎜   ↳ System mouse                                id=6    [slave  pointer  (2)]
> ⎜   ↳ Composite USB PS2 Converter USB to PS2 Adaptor  v1.09    id=11    [slave  pointer  (2)]
> ⎜   ↳ AcerA Bell T231HlTouchScreen                id=12    [slave  pointer  (2)]
> ⎣ Virtual core keyboard                       id=3    [master keyboard (2)]
>    ↳ Virtual core XTEST keyboard                 id=5    [slave  keyboard (3)]
>    ↳ System keyboard multiplexer                 id=7    [slave  keyboard (3)]
>    ↳ Power Button                                id=8    [slave  keyboard (3)]
>    ↳ AT keyboard                                 id=9    [slave  keyboard (3)]
>    ↳ Composite USB PS2 Converter USB to PS2 Adaptor  v1.09    id=10    [slave  keyboard (3)]
> 
> and 'xinput list-props <device>' for all device listed (in numerical id
> order) is attached. (Far easier than handling mail wrapping issues.)

Ok, this is a wild shot, but does

  xinput disable 10

help?

Cheers


> Regards,
> Milan
> <xinp>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.