Last active
August 2, 2020 09:42
-
-
Save Tiryoh/b849e22057fc476c5b3db7fa4b1c1b24 to your computer and use it in GitHub Desktop.
DualShock4のUbuntu用ドライバのセットアップ手順(Python3)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -eu | |
# tested on Ubuntu 18.04.4 | |
git clone https://github.com/ds4-driver/ds4drv.git | |
cd ds4drv | |
mkdir -p ~/.local/lib/python3.6/site-packages | |
python3 setup.py install --prefix ~/.local | |
sudo cp udev/50-ds4drv.rules /etc/udev/rules.d/ | |
sudo udevadm control --reload | |
sudo udevadm trigger |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment