I’m trying to use my Playstation 4 Controller (wireless) as a Kodi Remote. nothing special, just navigate, volume control, play/pause…
on a raspberry pi 3, the pairing worked flawless with the MyOSMC -> Bluetooth menu, im seeing the Controller as “Wireless Controller”.
but in Kodi just the touchbar works, i can scroll horizontal through my Recent Movies in the homescreen.
all other buttons do not work.
copying the joystick.PS4.Controller.xml from /usr/share/kodi/system/keymaps/ to /home/osmc/.kodi/usermap/keymaps/ didn’t change anything.
did I miss something here? shouldn’t the dualshock4 work out-of-the-box?
With this I mean that they did not work in kodi and only worked properly with retropie if kodi was quit.
So this could or could not be a problem later with retroplayer if the underlying issue would prevent them from working simultaniously.
I also tried to make a gamepad mapping for kodi, but that also did not work for me with generic usb joypads.
The only people who seems to have some success with controlling kodi with gamepads are the ones with xbox controllers but I think this only works if you pair them in keyboard emulation mode.
install the dualshock 4 driver: sudo pip install ds4drv
Make sure your Controller is paired in MyOSMC → Bluetooth, name should be “Wireless Controller”
try ds4drv, the --hidraw option makes sure it uses the paired controller sudo ds4drv --hidraw
When the device is busy, stop it by pressing PS button for 10secs, then start it again by pressing PS button.
Now it should scan it sucessfully and show battery status.
I just create an account mkub to tell you u are one crazy , big , super , awesome guy !!! I’m trying to make my ps4 controller work wirelessly on kodi from the beginning of times !!!Thanx you man , really thanx not only to find the solution but to share with others. If you ever come to Athens you are my guest !Beers over Akropoli ! Luv u!