games-util/xboxdrv: fix wireless pad udev match
authorRafael Kitover <rkitover@gmail.com>
Sun, 13 Jan 2019 14:26:26 +0000 (06:26 -0800)
committerJames Le Cuirot <chewi@gentoo.org>
Thu, 17 Jan 2019 22:27:11 +0000 (22:27 +0000)
Add "Xbox 360 Wireless Adapter" to the ID_MODEL_FROM_DATABASE match
patterns so that the wireless Xbox 360 controller adapter is detected.

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/10823
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
games-util/xboxdrv/files/xboxdrv.udev-rules

index c571b2b5ab02ef233cdc054b9bac5b3f25f1a08b..85b1d57dd26bb7ea5cb05e4b13d160c0d16d3038 100644 (file)
@@ -1,5 +1,5 @@
 SUBSYSTEM=="usb", ACTION=="add",\
-       ENV{ID_MODEL_FROM_DATABASE}=="Xbox*Controller|Xbox*Controller S",\
+       ENV{ID_MODEL_FROM_DATABASE}=="Xbox*Controller|Xbox*Controller S|Xbox 360 Wireless Adapter",\
        TAG+="systemd",\
        ENV{SYSTEMD_ALIAS}="/sys/subsystem/usb/xbox/controller$number",\
        ENV{SYSTEMD_WANTS}+="xboxdrv.service"