diff options
Diffstat (limited to 'games-util/xboxdrv/files/xboxdrv.udev-rules')
-rw-r--r-- | games-util/xboxdrv/files/xboxdrv.udev-rules | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/games-util/xboxdrv/files/xboxdrv.udev-rules b/games-util/xboxdrv/files/xboxdrv.udev-rules new file mode 100644 index 000000000000..c571b2b5ab02 --- /dev/null +++ b/games-util/xboxdrv/files/xboxdrv.udev-rules @@ -0,0 +1,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" |