Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PS4 controller support
#1
STEPS (from command line)

sudo apt-get install python-dev
wget https://bootstrap.pypa.io/get-pip.py
sudo python get-pip.py
sudo pip install ds4drv

##########################
From the retropie wiki:
############# allow a normal user to create a new joystick #############
wget https://raw.githubusercontent.com/chripp...4drv.rules
sudo mv 50-ds4drv.rules /etc/udev/rules.d/
sudo udevadm control --reload-rules
sudo udevadm trigger

### put the PS4 controller into pairing mode. Hold down the SHARE button & the PS button ####
### run ds4drv ###
ds4drv
## it should connect after a few seconds###
# after a successful connection, add /usr/local/bin/ds4drv & to /etc/rc.local
# it will look something like this:

# By default this script does nothing.
/usr/local/bin/ds4drv &
exit 0
####
reboot
Reply
#2
ds4drv does support multiple controllers and you can randomize led of them ..

as simple:
ds4drv --led ff0000 --next-controller --led 00ff00

it will set the LED color to red on the first controller connected and green on the second.

i tested. works!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)