1 |
commit: 0b0f686a875ae2df53c2c40346a80b3dcdba4611 |
2 |
Author: Rafael Kitover <rkitover <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Jan 13 14:26:26 2019 +0000 |
4 |
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jan 17 22:27:11 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b0f686a |
7 |
|
8 |
games-util/xboxdrv: fix wireless pad udev match |
9 |
|
10 |
Add "Xbox 360 Wireless Adapter" to the ID_MODEL_FROM_DATABASE match |
11 |
patterns so that the wireless Xbox 360 controller adapter is detected. |
12 |
|
13 |
Signed-off-by: Rafael Kitover <rkitover <AT> gmail.com> |
14 |
Closes: https://github.com/gentoo/gentoo/pull/10823 |
15 |
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> |
16 |
|
17 |
games-util/xboxdrv/files/xboxdrv.udev-rules | 2 +- |
18 |
1 file changed, 1 insertion(+), 1 deletion(-) |
19 |
|
20 |
diff --git a/games-util/xboxdrv/files/xboxdrv.udev-rules b/games-util/xboxdrv/files/xboxdrv.udev-rules |
21 |
index c571b2b5ab0..85b1d57dd26 100644 |
22 |
--- a/games-util/xboxdrv/files/xboxdrv.udev-rules |
23 |
+++ b/games-util/xboxdrv/files/xboxdrv.udev-rules |
24 |
@@ -1,5 +1,5 @@ |
25 |
SUBSYSTEM=="usb", ACTION=="add",\ |
26 |
- ENV{ID_MODEL_FROM_DATABASE}=="Xbox*Controller|Xbox*Controller S",\ |
27 |
+ ENV{ID_MODEL_FROM_DATABASE}=="Xbox*Controller|Xbox*Controller S|Xbox 360 Wireless Adapter",\ |
28 |
TAG+="systemd",\ |
29 |
ENV{SYSTEMD_ALIAS}="/sys/subsystem/usb/xbox/controller$number",\ |
30 |
ENV{SYSTEMD_WANTS}+="xboxdrv.service" |