[PR #626] [MERGED] pad: add support for configurable special pad class #1675

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/626
Author: @InvoxiPlayGames
Created: 8/28/2024
Status: Merged
Merged: 8/28/2024
Merged by: @georgemoralis

Base: mainHead: special-pad


📝 Commits (3)

  • 79e86a3 add support for configurable special pad type
  • 550cf01 return proper error code for scePadOpen failure
  • 9d59ea0 clang-format fix: scePadOpenExt

📊 Changes

4 files changed (+67 additions, -2 deletions)

View changed files

📝 src/common/config.cpp (+29 -0)
📝 src/common/config.h (+6 -0)
📝 src/core/libraries/pad/pad.cpp (+24 -1)
📝 src/core/libraries/pad/pad.h (+8 -1)

📄 Description

this adds a new config section to set the controller class to report to the game

[Input]
useSpecialPad = true
specialPadClass = 1

no GUI option currently but this lets you configure using e.g. a wheel or guitar

this should allow getting past the title screen in Guitar Hero Live (CUSA02410) as well as enabling more gameplay in Rock Band 4 (CUSA02901)

both of those games require additional patches to boot so i have not been able to test this specific branch in any game. since this makes behaviour closer to a PS4 it would be good to regression test other games to make sure they can still take inputs when useSpecialPad is set to false


🔄 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/626 **Author:** [@InvoxiPlayGames](https://github.com/InvoxiPlayGames) **Created:** 8/28/2024 **Status:** ✅ Merged **Merged:** 8/28/2024 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `special-pad` --- ### 📝 Commits (3) - [`79e86a3`](https://github.com/shadps4-emu/shadPS4/commit/79e86a39fcc022f38104986c10252340025cfeda) add support for configurable special pad type - [`550cf01`](https://github.com/shadps4-emu/shadPS4/commit/550cf0188d40e20df71d99b76237287be63ba13e) return proper error code for scePadOpen failure - [`9d59ea0`](https://github.com/shadps4-emu/shadPS4/commit/9d59ea06c784cef14c62fc79170c66995e90d410) clang-format fix: scePadOpenExt ### 📊 Changes **4 files changed** (+67 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/common/config.cpp` (+29 -0) 📝 `src/common/config.h` (+6 -0) 📝 `src/core/libraries/pad/pad.cpp` (+24 -1) 📝 `src/core/libraries/pad/pad.h` (+8 -1) </details> ### 📄 Description this adds a new config section to set the controller class to report to the game ``` [Input] useSpecialPad = true specialPadClass = 1 ``` no GUI option currently but this lets you configure using e.g. a wheel or guitar this should allow getting past the title screen in Guitar Hero Live (`CUSA02410`) as well as enabling more gameplay in Rock Band 4 (`CUSA02901`) both of those games require additional patches to boot so i have not been able to test this specific branch in any game. since this makes behaviour closer to a PS4 it would be good to regression test other games to make sure they can still take inputs when useSpecialPad is set to false --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 21:13:31 +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#1675
No description provided.