Re: [PATCH v2 libinput 2/3] Add a udev bits to assign LIBINPUT_DEVICE_GROUP

2015-02-12 Thread Benjamin Tissoires
On Tue, Feb 10, 2015 at 8:31 PM, Peter Hutterer peter.hutte...@who-t.net wrote: The easiest way to get a device group is by looking at the phys path of the input device (which looks like usb-:00:14.0-1/input1) and dropping the /inputX bit. The rest is the same for devices that belong

[PATCH v2 libinput 2/3] Add a udev bits to assign LIBINPUT_DEVICE_GROUP

2015-02-10 Thread Peter Hutterer
The easiest way to get a device group is by looking at the phys path of the input device (which looks like usb-:00:14.0-1/input1) and dropping the /inputX bit. The rest is the same for devices that belong together. Ideally we could just take ATTRS{phys} but we can't select substrings to drop