[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    Re: How to get xinput device ID of touchscreen without using manufacturer string?
From:       Peter Hutterer <peter.hutterer () who-t ! net>
Date:       2021-10-07 0:12:18
Message-ID: YV47YmNo64kj18E1 () quokka
[Download RAW message or body]

On Mon, Oct 04, 2021 at 04:58:00PM +0000, Sagar Biddanda wrote:
> Chromium only shows proper touchscreen behavior when the supplied ID
> argument is 7 in the case of the below devices. Note that the xinput IDs are
> subject to change during a reboot, so I can't just use 7 all the time.
> 
> I understand I can whitelist manufacturer strings but I would like something
> reliable that always works and doesn't depend on manufacturer strings
> staying the same.

Not sure I understand what you want to do, but for quite a few years now all
input drivers that matter implement the "Device Node" device property. That
will contain the evdev node used by the device which you can use to match up
with information from udev.

Cheers,
   Peter


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic