pcsx2
pcsx2 copied to clipboard
[BUG]: PS3 Controller Not Detected On Linux
Describe the Bug
Less of a bug, more of a report.
OEM PS3 controller was not detected via USB [this machine does not have bluetooth, so test with that wasn't an option].
Ran jstest on /dev/input/js1 [it was addressed to js1 instead of js0] which passed all test. Tested with https://hardwaretester.com/gamepad and the .elf file, per official instructions - gamepad tester worked, the .elf file did not, as to be expected, since PCSX2 wasn't recognizing the controller, but wasn't going to skip a step.
TellowKrinkle in the PCSX2 Discord recommended this: https://wiki.rpcs3.net/index.php?title=Help:Controller_Configuration#On_Linux which fixed the issue and provided full support.
I would also like to add that some Linux users may experience an issue where the left analog stick controls the mouse cursor. That's an easy fix:
sudo nano /etc/X11/xorg.conf.d/51-joystick.conf
Then dump in this and save:
Section "InputClass"
Identifier "joystick catchall"
MatchIsJoystick "on"
MatchDevicePath "/dev/input/event*"
Driver "joystick"
Option "StartKeysEnabled" "False" #Disable mouse
Option "StartMouseEnabled" "False" #support
EndSection
Reproduction Steps
See details above.
Expected Behavior
No response
PCSX2 Revision
v1.7.5703
Operating System
Linux (64bit) - Specify distro below
If Linux - Specify Distro
antiX 23.1
Logs & Dumps
No response
okay thanks but this issue tracker is reserved for PCSX2 issues, so I will be closing.
This is regarding PCSX2. Users in the Discord requested I generate this.
Okay but you said it wasn't a bug and that it was fixed, then gave a solution outside of PCSX2. I can't watch the Discord 24/7.
This bug is not fixed, enabling raw hidapi access is a workaround but we should be able to talk to a DS3 without hidapi as well (just without pressure sensitive buttons)
That sounds like a setup specific issue? (if the kernel isn't providing the appropriate events) Or SDL..
I tested a PS3 controller and mine is working fine, I'm on Arch Linux with kernel 6.8.5. I tested with the PCSX2 v1.7.5703 too. I connected the controller and it seems to work out-of-the-box with SDL.
can not replicate , DS3 works great with SDL