This commit is contained in:
Björn Ellensohn 2024-03-25 10:07:43 +01:00
parent fd59d00a71
commit d59e6f9811

View File

@ -7,7 +7,7 @@ sudo cp ps4_controller_script.sh /etc/udev/rules.d
sudo chmod +x /etc/udev/rules.d/ps4_controller_script.sh sudo chmod +x /etc/udev/rules.d/ps4_controller_script.sh
# Create or append the udev rule # Create or append the udev rule
echo 'ACTION=="add", SUBSYSTEM=="input", ATTRS{name}=="Wireless Controller", RUN+="/etc/udev/rules.d/ps4_controller_script.sh"' | sudo tee -a /etc/udev/rules.d/99-ps4-controller.rules echo 'ACTION=="add", SUBSYSTEM=="input", ATTRS{name}=="Wireless Controller", RUN+="/etc/udev/rules.d/ps4_controller_script.sh"' | sudo tee /etc/udev/rules.d/99-ps4-controller.rules
# Reload udev rules # Reload udev rules
sudo udevadm control --reload-rules sudo udevadm control --reload-rules