#PS4 controller drivers (SOLVED)

32 messages · Page 1 of 1 (latest)

winter owl
#

What input driver do I need in order to use my DualShock4 via USB?

vague root
#

lsusb look for an entry that mentions something like sony entertainment or something along those lines ( i dont remember the exact name but it should be similar)

#

then sudo apt install ds4drv (ds4drv is the driver for dualshock4)

winter owl
#

Ight

vague root
#

run it with ds4drv

#

To test controller input, get this sudo apt install joystick

#

Then run jstest /dev/input/js0

winter owl
#

I'm updating my packages rn

vague root
#

Make sure your dualshock4 is connected via USB during this process

winter owl
#

It said the package wasn't found

#

@vague root

turbid stump
#

it should just hook up and work

#

at least it does for me

#

have you tried it in a game?

#

one of the great things about linux is that dualshock controllers work out of the box

#

have you tested it in a game? @winter owl

#

yeah i just hooked it up and it works

#

i didnt install any drivers or anything it just worked

#

even the built in heaphone jack on it worked

winter owl
#

I was gonna use it for dolphin emulator

turbid stump
winter owl
turbid stump
#

?

#

does the dualshock appear when you use that website

winter owl
#

yes

turbid stump
#

alright, so the problem is in dolphin not detecting the controller, not in the drivers

turbid stump
# winter owl yes

it seems to work for me in dolphin after selecting controllers > pressing configure on the port 1 controller and under device selecting evdev/0/Sony Interactive Entertainment Wireless Controller

#

i dont have any roms to test this with but i was able to remap keys and it recognized the inputs

turbid stump
turbid stump