diff --git a/CMakeLists.txt b/CMakeLists.txt index e98c445f535a..0c99609d837a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -856,6 +856,10 @@ if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux") DESTINATION ${CMAKE_INSTALL_PREFIX}/share/pixmaps) install(FILES Installer/dolphin-emu.desktop DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications) + # Install udev rule + install(FILES Installer/51-gcadapter.rules + DESTINATION /lib/udev/rules.d + OPTIONAL) endif() # packaging information diff --git a/Installer/51-gcadapter.rules b/Installer/51-gcadapter.rules new file mode 100644 index 000000000000..afd1e492f30c --- /dev/null +++ b/Installer/51-gcadapter.rules @@ -0,0 +1 @@ +SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="0337", MODE="0666"