summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2016-03-11 10:00:41 +0100
committerPierre Bourdon <delroth@gmail.com>2016-03-11 10:00:41 +0100
commit77b4b36ca42e1353383cfbce329f5e4e68a837e0 (patch)
treed88ba6b8211802d6b9038c8dfc6f5e69e0e40802
parent4c4eaaa1d69c75568c83c43d7c2f69923d8392e1 (diff)
parent99fd27b4fe5b627703baf7e460f1776289c65d11 (diff)
Merge pull request #3670 from aserna3/udev
[udev] Added udev rule for GC adapter
-rw-r--r--Data/51-usb-device.rules5
-rw-r--r--Readme.md6
2 files changed, 11 insertions, 0 deletions
diff --git a/Data/51-usb-device.rules b/Data/51-usb-device.rules
new file mode 100644
index 0000000000..96d8e6bf1d
--- /dev/null
+++ b/Data/51-usb-device.rules
@@ -0,0 +1,5 @@
+#GameCube Controller Adapter
+SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="0337", TAG+="uaccess"
+
+#Mayflash DolphinBar
+SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="0306", TAG+="uaccess"
diff --git a/Readme.md b/Readme.md
index d0a0e9ff80..586737b9e9 100644
--- a/Readme.md
+++ b/Readme.md
@@ -154,6 +154,12 @@ These folders are installed read-only and should not be changed:
* `Resources`: icons that are theme-agnostic
* `Wii`: default Wii NAND contents
+## Packaging and udev
+The Data folder contains a udev rule file for the official GameCube controller
+adapter and the Mayflash DolphinBar. Package maintainers can use that file in their packages for Dolphin.
+Users compiling Dolphin on Linux can also just copy the file to their udev
+rules folder.
+
## User Folder Structure
A number of user writeable directories are created for caching purposes or for
allowing the user to edit their contents. On OS X and Linux these folders are