Hey Hendry, the IDs are a property of the XINPUT extension and the xinput(1) tool can be used to modify XINPUT properties. It's the tool of choice for XINPUT devices. What you might think of is a modification of the kernel (evdev) devices, for example USB, which are listed in /sys/bus/usb/devices, but these don't know about the XINPUT.ID.
Regards, Ingo > Hi there, > > I'm trying to reliably configure a touch input device in X. However the > IDs can change between reboots. > > From doing some googling, it seems that most people script something > like: > > ID=`xinput list | grep -Eo 'ouchpad\s*id\=[0-9]{1,2}' | grep -Eo > '[0-9]{1,2}'` > > > To find the ID reliably. Is this the right way to do it? Is there > perhaps a better way with udev/systemd? > > Many thanks, > _______________________________________________ > xorg@lists.x.org: X.Org support > Archives: http://lists.freedesktop.org/archives/xorg > Info: http://lists.x.org/mailman/listinfo/xorg > Your subscription address: %(user_address)s _______________________________________________ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: %(user_address)s