mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-27 08:46:03 +03:00
[GH-ISSUE #1247] DualSense, DualShock 4 correct implementation & keyboard blocking does not work on this controllers #398
Labels
No labels
Bloodborne
bug
contributor wanted
documentation
enhancement
frontend
good first issue
help wanted
linux
pull-request
question
release
verification progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shadPS4#398
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @par274 on GitHub (Oct 5, 2024).
Original GitHub issue: https://github.com/shadps4-emu/shadPS4/issues/1247
I have controllers for all 4 main consoles, including the Switch controller, so I performed the tests.
I'm aware the emulator is in a very early stage but I think there should be a reported issue open. In this way, it can reach more developers.
The first problem is related to the DualSense and DualShock 4 integration. These controllers work in the emulator, but they act like Xbox controllers, so features such as Gyro and TouchPad that are required in some games do not work. For example, Gesture and shortcut menus do not open in Bloodborne.
The other issue is more of a bug.
https://github.com/shadps4-emu/shadPS4/pull/1237
Here it hides the mouse cursor when using a controller. While it hides the cursor on the Xbox controller, it does not hide it on the DualSense and DualShock 4 controllers. But this does not always happen.
@fireph commented on GitHub (Oct 6, 2024):
touchpad support is being added in https://github.com/shadps4-emu/shadPS4/pull/1257
@tGecko commented on GitHub (Oct 6, 2024):
DualSense doesn't work at all for me, but DS4 works fine, including hiding the cursor. Maybe you have some sort of software interfering (DS4Windows, Steam)?
@fireph commented on GitHub (Oct 6, 2024):
dualsense works fine with no extra software, just plugged in via a USB cable
@tGecko commented on GitHub (Oct 6, 2024):
Oh after restarting it works. Cursor hiding works on DualSense as well for me 🤔 Under what conditions does it not work for you?
Edit:
Retested and cursor hide confirmed working on:
DS4
DualSense
Xbox Elite 2
Xbox one
Switch Pro
Nacon DS4-like
8BITDO SF30 Pro
Cursor hide works on all these. There is no reason it shouldn't, unless something is moving the mouse.
@par274 commented on GitHub (Oct 6, 2024):
Thank you. I tried it on all 4 controllers and it hides the cursor. And TouchPad working properly.
But I discovered a bug, for example in Bloodborne, the shortcut is opened with the right side of the TouchPad and the gesture menu is opened with the left side. I downloaded build #1258 but sometimes even if you click on the left side of the TouchPad, it clicks on the right side.
Other than that, everything works perfectly. If you want to go over it, I think you can bring a screenshot with the Share button. And gyro.
@fireph commented on GitHub (Oct 6, 2024):
@par274 this is known bug in the SDL library that is used for the controller. It will likely automatically get fixed when https://github.com/libsdl-org/SDL/issues/11085 gets fixed. To avoid it, touch the touchpad and then click it.
@par274 commented on GitHub (Oct 6, 2024):
Yes, I just read your comment that this problem is related to SDL. I think the same problem has been going on in SDL for years because I was experiencing it in PSNow from time to time.
@par274 commented on GitHub (Oct 7, 2024):
updated sdl to fix touchpad issue (#1275)
All problems seem to be fixed. I'm closing the issue.