Re: xinput ids

2015-06-08 Thread Peter Korsgaard
> "Peter" == Peter Hutterer writes: Hi, >> A typical use case is to set the coordinate transformation matrix for >> touchscreens in multihead setups. >> >> In the likely situation that the touchscreens are of the same type they >> will have the same device name, so you need to fish out

Re: xinput ids

2015-06-08 Thread Peter Hutterer
On Tue, Jun 09, 2015 at 07:23:36AM +0200, Peter Korsgaard wrote: > > "Peter" == Peter Hutterer writes: > > Hi, > > >> To find the ID reliably. Is this the right way to do it? Is there > >> perhaps a better way with udev/systemd? > > > what do you use for configuring and why do you need th

Re: xinput ids

2015-06-08 Thread Peter Hutterer
On Mon, Jun 08, 2015 at 02:53:34PM +0800, Kai Hendry wrote: > 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 'o

Re: xinput ids

2015-06-08 Thread Ingo Krabbe
> On Mon, 8 Jun 2015, at 03:27 PM, Ingo Krabbe wrote: >> No, I say, you can view/change USB Properties finding the a devices >> through USB IDs and you can view/change XINPUT Properties addressing the >> device via xinput and it's XINPUT.ID. > > Ok, I think I understand that. > > But how do I per

Re: xinput ids

2015-06-08 Thread Kai Hendry
On Mon, 8 Jun 2015, at 03:27 PM, Ingo Krabbe wrote: > No, I say, you can view/change USB Properties finding the a devices > through USB IDs and you can view/change XINPUT Properties addressing the > device via xinput and it's XINPUT.ID. Ok, I think I understand that. But how do I permanently set

Re: xinput ids

2015-06-08 Thread Ingo Krabbe
> On Mon, 8 Jun 2015, at 03:17 PM, Ingo Krabbe wrote: >> 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 e

Re: xinput ids

2015-06-08 Thread Kai Hendry
On Mon, 8 Jun 2015, at 03:17 PM, Ingo Krabbe wrote: > 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

Re: xinput ids

2015-06-08 Thread Ingo Krabbe
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/devic