summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael Kitover <rkitover@gmail.com>2019-01-13 06:26:26 -0800
committerJames Le Cuirot <chewi@gentoo.org>2019-01-17 22:27:11 +0000
commit0b0f686a875ae2df53c2c40346a80b3dcdba4611 (patch)
treeb63f77d7fbca3b3fb8f6b81d8355865731e2c88a /games-util/xboxdrv
parentgames-util/xboxdrv: Add missing dev-util/glib-utils dependency (diff)
downloadgentoo-0b0f686a875ae2df53c2c40346a80b3dcdba4611.tar.gz
gentoo-0b0f686a875ae2df53c2c40346a80b3dcdba4611.tar.bz2
gentoo-0b0f686a875ae2df53c2c40346a80b3dcdba4611.zip
games-util/xboxdrv: fix wireless pad udev match
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>
Diffstat (limited to 'games-util/xboxdrv')
-rw-r--r--games-util/xboxdrv/files/xboxdrv.udev-rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/games-util/xboxdrv/files/xboxdrv.udev-rules b/games-util/xboxdrv/files/xboxdrv.udev-rules
index c571b2b5ab02..85b1d57dd26b 100644
--- a/games-util/xboxdrv/files/xboxdrv.udev-rules
+++ b/games-util/xboxdrv/files/xboxdrv.udev-rules
@@ -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"