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