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
#3
I am trying doing this and when I put "sudo pip install ds4rv" a message appears "could not find a version that satisfies the requirement ds4rv(from versionsSmile No matching distribution found for ds4rv"
What is the problem. There is not much information about this in google. Big Grin
It is Orange Pi Pc with RetroOrange Pi 4.0
Reply
#4
tested in v4.1 - it works

   
   
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)