Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Kodi 21.1-r2 PS4 Controller
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
yaslam
Tux's lil' helper
Tux's lil' helper


Joined: 08 May 2024
Posts: 87
Location: Scotland, UK

PostPosted: Fri Apr 18, 2025 10:24 am    Post subject: [SOLVED] Kodi 21.1-r2 PS4 Controller Reply with quote

Hi, has anyone managed to get the PS4 controller working on Kodi? I am trying to get it to work but Kodi does not seem to detect it. I have connected it over bluetooth to my Kodi HTPC and it doesn't work.

Thanks


Last edited by yaslam on Wed May 07, 2025 11:56 pm; edited 1 time in total
Back to top
View user's profile Send private message
Ralphred
l33t
l33t


Joined: 31 Dec 2013
Posts: 791

PostPosted: Fri Apr 18, 2025 2:55 pm    Post subject: Reply with quote

I have a working DS4 over bluetooth I use all the time, so I just tried to configure it in Kodi and it's not detected.
If I start up steam so the "steam input" xbox controller is created in /dev/input/, that's not detected either.
My advice would be to use games-util/qjoypad to act as a "compatibility" layer, it lets you map gamepad/joystick inputs to key presses/mouse actions. It can even "autoload" a profile when it detects a certain executable is running, so you can set it up to "not interfere" when kodi isn't running.

When I first started using a DualShock4, Xorg always added the touchpad as a mouse, here's the snippet to stop that if you prefer using the stick(s) to move the mouse:
/etc/X11/xorg.conf.d/NoTouchpad.conf:
Section "InputClass"
    Identifier          "DS4-Touchpad"
    Driver              "libinput"
    MatchIsTouchPad     "yes"
    Option              "Mode" "Relative"
    Option              "Ignore" "True"
EndSection
Back to top
View user's profile Send private message
yaslam
Tux's lil' helper
Tux's lil' helper


Joined: 08 May 2024
Posts: 87
Location: Scotland, UK

PostPosted: Fri Apr 18, 2025 3:55 pm    Post subject: Reply with quote

Ralphred wrote:
I have a working DS4 over bluetooth I use all the time, so I just tried to configure it in Kodi and it's not detected.
If I start up steam so the "steam input" xbox controller is created in /dev/input/, that's not detected either.
My advice would be to use games-util/qjoypad to act as a "compatibility" layer, it lets you map gamepad/joystick inputs to key presses/mouse actions. It can even "autoload" a profile when it detects a certain executable is running, so you can set it up to "not interfere" when kodi isn't running.

When I first started using a DualShock4, Xorg always added the touchpad as a mouse, here's the snippet to stop that if you prefer using the stick(s) to move the mouse:
/etc/X11/xorg.conf.d/NoTouchpad.conf:
Section "InputClass"
    Identifier          "DS4-Touchpad"
    Driver              "libinput"
    MatchIsTouchPad     "yes"
    Option              "Mode" "Relative"
    Option              "Ignore" "True"
EndSection


Ralphred, thank you, that is very useful.
Back to top
View user's profile Send private message
yaslam
Tux's lil' helper
Tux's lil' helper


Joined: 08 May 2024
Posts: 87
Location: Scotland, UK

PostPosted: Fri Apr 18, 2025 4:36 pm    Post subject: Reply with quote

Ralphred wrote:
I have a working DS4 over bluetooth I use all the time, so I just tried to configure it in Kodi and it's not detected.
If I start up steam so the "steam input" xbox controller is created in /dev/input/, that's not detected either.
My advice would be to use games-util/qjoypad to act as a "compatibility" layer, it lets you map gamepad/joystick inputs to key presses/mouse actions. It can even "autoload" a profile when it detects a certain executable is running, so you can set it up to "not interfere" when kodi isn't running.

When I first started using a DualShock4, Xorg always added the touchpad as a mouse, here's the snippet to stop that if you prefer using the stick(s) to move the mouse:
/etc/X11/xorg.conf.d/NoTouchpad.conf:
Section "InputClass"
    Identifier          "DS4-Touchpad"
    Driver              "libinput"
    MatchIsTouchPad     "yes"
    Option              "Mode" "Relative"
    Option              "Ignore" "True"
EndSection


Wow, qjoypad is fantastic! Thanks for the tip
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum