ACTION!="add|change", GOTO="libinput_device_group_end" KERNEL!="event[0-9]*", GOTO="libinput_device_group_end" ATTRS{phys}=="?*", \ PROGRAM="libinput-device-group %S%p", \ ENV{LIBINPUT_DEVICE_GROUP}="%c" LABEL="libinput_device_group_end"