[PR #3737] [MERGED] usbd: Implement usb backend system #3692

Closed
opened 2026-02-27 22:04:39 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/3737
Author: @ElBread3
Created: 10/16/2025
Status: Merged
Merged: 10/31/2025
Merged by: @georgemoralis

Base: mainHead: usb-backend-shim


📝 Commits (5)

📊 Changes

7 files changed (+597 additions, -62 deletions)

View changed files

📝 CMakeLists.txt (+1 -0)
📝 src/common/config.cpp (+14 -0)
📝 src/common/config.h (+4 -0)
📝 src/core/ipc/ipc.cpp (+38 -0)
src/core/libraries/usbd/usb_backend.h (+477 -0)
📝 src/core/libraries/usbd/usbd.cpp (+55 -62)
📝 src/core/libraries/usbd/usbd.h (+8 -0)

📄 Description

As a preliminary step to toys-to-life emulation, the goal of this PR is to implement a polymorphic USB backend class that shims all necessary functions for toys-to-life games to use emulated devices. This doesn't actually emulate any of the devices as of yet, I think it would be more fitting to leave that to @deReeperJosh, who previously contributed this feature to the other emulators.


🔄 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/3737 **Author:** [@ElBread3](https://github.com/ElBread3) **Created:** 10/16/2025 **Status:** ✅ Merged **Merged:** 10/31/2025 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `usb-backend-shim` --- ### 📝 Commits (5) - [`87ba895`](https://github.com/shadps4-emu/shadPS4/commit/87ba8959784f75dc7d00b89d2a97e08ad864de18) initial impl - [`389f13b`](https://github.com/shadps4-emu/shadPS4/commit/389f13b971e484f9ba516d3e241a28c776f31d25) reviews - [`3305d25`](https://github.com/shadps4-emu/shadPS4/commit/3305d252b30e65ae88e4729e79fa6df283e6913b) upstreamed deReaperJosh changes - [`7232c25`](https://github.com/shadps4-emu/shadPS4/commit/7232c25d0c9598dac7495e79202218f17ce65d28) Merge branch 'main' into usb-backend-shim - [`b249d1e`](https://github.com/shadps4-emu/shadPS4/commit/b249d1e3dcee62edd47f60b5398f3e8ae4aa0c7d) fixed config.cpp ### 📊 Changes **7 files changed** (+597 additions, -62 deletions) <details> <summary>View changed files</summary> 📝 `CMakeLists.txt` (+1 -0) 📝 `src/common/config.cpp` (+14 -0) 📝 `src/common/config.h` (+4 -0) 📝 `src/core/ipc/ipc.cpp` (+38 -0) ➕ `src/core/libraries/usbd/usb_backend.h` (+477 -0) 📝 `src/core/libraries/usbd/usbd.cpp` (+55 -62) 📝 `src/core/libraries/usbd/usbd.h` (+8 -0) </details> ### 📄 Description As a preliminary step to toys-to-life emulation, the goal of this PR is to implement a polymorphic USB backend class that shims all necessary functions for toys-to-life games to use emulated devices. This doesn't actually emulate any of the devices as of yet, I think it would be more fitting to leave that to @deReeperJosh, who previously contributed this feature to the other emulators. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 22:04:39 +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#3692
No description provided.