blob: c571b2b5ab02ef233cdc054b9bac5b3f25f1a08b (
plain)
1
2
3
4
5
|
SUBSYSTEM=="usb", ACTION=="add",\
ENV{ID_MODEL_FROM_DATABASE}=="Xbox*Controller|Xbox*Controller S",\
TAG+="systemd",\
ENV{SYSTEMD_ALIAS}="/sys/subsystem/usb/xbox/controller$number",\
ENV{SYSTEMD_WANTS}+="xboxdrv.service"
|