Fixed version of ds4drv
This repo provides a fixed and debugged version of an almost 8 year old package ds4drv.
sudo pacman -S python-setuptools bluez-utils bluez-deprecated-tools python-evdev python-pyudev
Those packages will be installed by setup.py
Then run the installer:
git clone https://github.com/gothboiprncss/ds4drv-fixed.git
cd ds4drv-fixed
sudo python setup.py install
To allow ds4drv access to uinput run:
sudo nudevadm control --reload-rules
sudo rmmod uinput
sudo modprobe uinput
ds4drv
Then press and hold the PS button on your conntroller. If it will connects successfully, you should be good to go!
Remeber to not close the terminal while using the program!