[PR #1257] [MERGED] Working touchpad support #2021

Closed
opened 2026-02-27 21:14:52 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/1257
Author: @fireph
Created: 10/6/2024
Status: Merged
Merged: 10/6/2024
Merged by: @georgemoralis

Base: mainHead: touchpad-support-working


📝 Commits (2)

📊 Changes

1 file changed (+6 additions, -5 deletions)

View changed files

📝 src/core/libraries/pad/pad.cpp (+6 -5)

📄 Description

Tested on a PS5 controller plugged in via USB on Windows 11. It appears to be working as one would expect, but there can be some weirdness when you press the touchpad really fast (it doesn't register the correct side of the touchpad in that case sometimes). I filed an issue with SDL since it is a bug within that project that causes this behavior https://github.com/libsdl-org/SDL/issues/11085.

I attempted to also get the back button on other controllers to trigger the left side of the touchpad, but haven't gotten a working version of that yet (and there would likely need to be a setting in shadPS4 to set whether the user wanted it to be left/right/center/none of the touchpad for the back button) so I'll leave that for a future PR (https://github.com/shadps4-emu/shadPS4/pull/1258).


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/shadps4-emu/shadPS4/pull/1257 **Author:** [@fireph](https://github.com/fireph) **Created:** 10/6/2024 **Status:** ✅ Merged **Merged:** 10/6/2024 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `touchpad-support-working` --- ### 📝 Commits (2) - [`ade79af`](https://github.com/shadps4-emu/shadPS4/commit/ade79af0d6cce35fc49476250a547f9ef54bba84) Working touchpad support - [`fb4a42c`](https://github.com/shadps4-emu/shadPS4/commit/fb4a42ccde81af9c19f8541b18525c4b9f00c626) fix lint ### 📊 Changes **1 file changed** (+6 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `src/core/libraries/pad/pad.cpp` (+6 -5) </details> ### 📄 Description Tested on a PS5 controller plugged in via USB on Windows 11. It appears to be working as one would expect, but there can be some weirdness when you press the touchpad really fast (it doesn't register the correct side of the touchpad in that case sometimes). I filed an issue with SDL since it is a bug within that project that causes this behavior https://github.com/libsdl-org/SDL/issues/11085. I attempted to also get the back button on other controllers to trigger the left side of the touchpad, but haven't gotten a working version of that yet (and there would likely need to be a setting in shadPS4 to set whether the user wanted it to be left/right/center/none of the touchpad for the back button) so I'll leave that for a future PR (https://github.com/shadps4-emu/shadPS4/pull/1258). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 21:14:52 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shadPS4#2021
No description provided.