I assume you've downloaded it from the GitHub project. If not, doesn't matter. We can use the recommended install method, straight from that page:
Stable release
Installing the latest release is simple by using pip:
$ sudo pip install ds4drv
Now, before we can do this, we need to set up some things. Fortunately, this is easy. Just run all of the below commands to install the prerequisite packages and binaries (pip
):
sudo apt-get install python-setuptools python-dev build-essential
sudo easy_install pip
Once you're done, run the commands specified on the GitHub page. You will be able to launch DS4DRV from the command line by just running ds4drv
.