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>
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"