[PR #1258] [MERGED] Add support to click touchpad using back button on non PS4/5 controllers #2023

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/1258
Author: @fireph
Created: 10/6/2024
Status: Merged
Merged: 10/8/2024
Merged by: @georgemoralis

Base: mainHead: touchpad-back-button


📝 Commits (10+)

  • ade79af Working touchpad support
  • fb4a42c fix lint
  • 41882a1 Add support to click touchpad using back button on other controllers
  • ea5c3ae add description text
  • cad5477 make more generic so translations can be supported in combobox
  • 77927bf Merge remote-tracking branch 'upstream/main' into touchpad-back-button
  • 1229c03 fix lint
  • f0de2e8 linter again
  • 1da4d76 support back button to touchpad for spacebar as well
  • e33852a Merge remote-tracking branch 'upstream/main' into touchpad-back-button

📊 Changes

7 files changed (+136 additions, -17 deletions)

View changed files

📝 README.md (+1 -1)
📝 src/common/config.cpp (+12 -0)
📝 src/common/config.h (+2 -0)
📝 src/qt_gui/settings_dialog.cpp (+24 -0)
📝 src/qt_gui/settings_dialog.ui (+38 -14)
📝 src/qt_gui/translations/en.ts (+35 -0)
📝 src/sdl_window.cpp (+24 -2)

📄 Description

Takes the back button and allows the user to change the behavior of how it clicks the touchpad. The current options are left, right, center, and none. It currently defaults to left, but I am open to changing this if "None" seems to be a better default. I could also change this to just 2 floats from 0->1 for x and y if we want something more generic in the settings, but I am open to any feedback on this.

image

Depends on https://github.com/shadps4-emu/shadPS4/pull/1257


🔄 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/1258 **Author:** [@fireph](https://github.com/fireph) **Created:** 10/6/2024 **Status:** ✅ Merged **Merged:** 10/8/2024 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `touchpad-back-button` --- ### 📝 Commits (10+) - [`ade79af`](https://github.com/shadps4-emu/shadPS4/commit/ade79af0d6cce35fc49476250a547f9ef54bba84) Working touchpad support - [`fb4a42c`](https://github.com/shadps4-emu/shadPS4/commit/fb4a42ccde81af9c19f8541b18525c4b9f00c626) fix lint - [`41882a1`](https://github.com/shadps4-emu/shadPS4/commit/41882a1da5789f6350b2ee4a6a3ca290a0afc362) Add support to click touchpad using back button on other controllers - [`ea5c3ae`](https://github.com/shadps4-emu/shadPS4/commit/ea5c3aede9fecb8f39ac909978e73d05b79b6834) add description text - [`cad5477`](https://github.com/shadps4-emu/shadPS4/commit/cad54771eac17789695d5820548af5ef8b78c20e) make more generic so translations can be supported in combobox - [`77927bf`](https://github.com/shadps4-emu/shadPS4/commit/77927bf9fdbe39d44a01d2e159a990583d4e29ce) Merge remote-tracking branch 'upstream/main' into touchpad-back-button - [`1229c03`](https://github.com/shadps4-emu/shadPS4/commit/1229c032728b8b1a1fe7c8db9d656cb2e6336bf9) fix lint - [`f0de2e8`](https://github.com/shadps4-emu/shadPS4/commit/f0de2e83bcc2ae74d5088b9dffc95a4ac4732054) linter again - [`1da4d76`](https://github.com/shadps4-emu/shadPS4/commit/1da4d769a24d45680e329ac1d282cc2528302f69) support back button to touchpad for spacebar as well - [`e33852a`](https://github.com/shadps4-emu/shadPS4/commit/e33852a127dcd2e3fb7eb31b06504316010e8c82) Merge remote-tracking branch 'upstream/main' into touchpad-back-button ### 📊 Changes **7 files changed** (+136 additions, -17 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -1) 📝 `src/common/config.cpp` (+12 -0) 📝 `src/common/config.h` (+2 -0) 📝 `src/qt_gui/settings_dialog.cpp` (+24 -0) 📝 `src/qt_gui/settings_dialog.ui` (+38 -14) 📝 `src/qt_gui/translations/en.ts` (+35 -0) 📝 `src/sdl_window.cpp` (+24 -2) </details> ### 📄 Description Takes the back button and allows the user to change the behavior of how it clicks the touchpad. The current options are left, right, center, and none. It currently defaults to left, but I am open to changing this if "None" seems to be a better default. I could also change this to just 2 floats from 0->1 for x and y if we want something more generic in the settings, but I am open to any feedback on this. ![image](https://github.com/user-attachments/assets/74224f5d-3396-49a0-a5ff-40d958f2d21c) Depends on https://github.com/shadps4-emu/shadPS4/pull/1257 --- <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#2023
No description provided.