RPCS3 / rpcs3

PlayStation 3 emulator and debugger
https://rpcs3.net/
GNU General Public License v2.0
15.37k stars 1.91k forks source link

PS4 Controller not properly recognized #3462

Closed sambow23 closed 6 years ago

sambow23 commented 7 years ago

Ever since the controller settings got changed, whenever I would select "DualShock 4" It would say "E HLE: [DS4] No controllers found!". But whenever I would select "Evdev" it would recognize it, but the controls we're messed up. This is on Linux by the way, specifically version "v0.0.3-50-b141b43 Alpha". It did not happen before the controller settings were changed.

twdarkeh commented 7 years ago

DS4 no longer works in Trails of Cold Steel, Final Fantasy X/X-2 Remaster, Lost Dimension, and a host of other games on windows after this commit. Have to revert to keyboard input, which makes the emulator largely unusable to games that require analog sticks to play(all of the above).

hcorion commented 7 years ago

Tagging @RipleyTom

whymsical210 commented 7 years ago

Can confirm its broken Hyperdimension Neptunia (The original)

jarveson commented 7 years ago

For the linux issue, try #3471, it shouldn't fix the issue, but will hopefully output a different error message which will help track down the true issue. It should fix the other issues reported here on windows at least

twdarkeh commented 7 years ago

I should clarify that my comment applies to Windows 7, I suppose, so this doesn't seem to be a Linux specific issue.

twdarkeh commented 7 years ago

3471 Seems to fix the issue on windows 7, at least.

Megamouse commented 6 years ago

I wonder if the DS4 is still undetected.

Button Layout should not be a problem after my pad PR.

kernsback commented 6 years ago

For Linux, this problem still exists on rpcs3-v0.0.3-2017-11-11-8fc9862-8730_linux64. I suspect this may just be a Linux problem because the Dualshock 4 native kernel support is busted and the alternate methods of using the device are troublesome at best. I'm trying to use the pad via usb instead of bluetooth.

I tried kernel 4.10 and 4.13 (4.14 is available but it isn't working for me), and changing kernels didn't help. I tried ds4drv and xboxdrv and I couldn't get either of those to work; I spent hours looking through tutorials and the documentation is too difficult for me to understand or it's leaving out too many things that I'm ignorant about. Finally I tried setting up the gamepad in Steam in Big Picture Mode, then minimizing that. RPCS3 recognizes a device under Gamepads Settings > Dualshock 4 and now shows Ds4 Pad #(hex value). There's no difference from the Evdev option though; the triggers still give weird output where they seem to be simultaneously mapped to multiple buttons and axes.

Megamouse commented 6 years ago

can someone retest this please?

Illynir commented 6 years ago

I have always this problem. DS4 not recognised.

tijder commented 6 years ago

Same problem here. Still not showing the DS4 by input output devices. For me it is also working.

Illynir commented 6 years ago

I rectify: I downloaded the latest build in appimage and now everything is good. Fixed for me. :)

image

Megamouse commented 6 years ago

I think this can be closed then

AniLeo commented 6 years ago

Closing as solved

xacutaz commented 6 years ago

to fix this you simply need to install ds4drv and run ds4drv --hidraw in a terminal with elevated privileges and you must also run ./rpcs3 wih elevated privileges , it worked for me https://github.com/chrippa/ds4drv

critbase commented 5 years ago

Sorry to comment on such an old issue, but for anyone who googled "rpcs3 hid_open_path" like me and only found this issue, the problem occurs on linux because rpcs3 doesn't have access to /dev/uinput. Basically, depending on distro, you may need to add a udev rule something like this: SUBSYSTEM=="misc", KERNEL=="uinput", MODE="0660", GROUP="input" to your system, and make sure you're in group input