[PR #53] [MERGED] pad implementation #1245

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/53
Author: @georgemoralis
Created: 10/9/2023
Status: Merged
Merged: 10/13/2023
Merged by: @georgemoralis

Base: mainHead: pad


📝 Commits (4)

  • 95f1c14 added pad functions parameters
  • da9adf8 some work on pad emulation (WIP)
  • e1b6461 pad somehow working
  • 5a905b0 map for dpad keys to emulator

📊 Changes

17 files changed (+325 additions, -103 deletions)

View changed files

📝 CMakeLists.txt (+7 -0)
📝 src/Core/PS4/HLE/Graphics/Objects/video_out_ctx.cpp (+1 -1)
📝 src/Core/PS4/HLE/Graphics/Objects/video_out_ctx.h (+1 -1)
📝 src/Core/PS4/HLE/Graphics/graphics_render.cpp (+1 -1)
📝 src/Core/PS4/HLE/Graphics/video_out.cpp (+1 -1)
📝 src/Core/PS4/HLE/LibSceGnmDriver.cpp (+1 -1)
src/Emulator/HLE/Libraries/LibPad/controller.cpp (+51 -0)
src/Emulator/HLE/Libraries/LibPad/controller.h (+33 -0)
📝 src/Emulator/HLE/Libraries/LibPad/pad.cpp (+33 -2)
📝 src/Emulator/HLE/Libraries/LibPad/pad.h (+83 -36)
📝 src/Emulator/HLE/Libraries/LibUserService/user_service.h (+2 -0)
src/Emulator/Util/singleton.h (+24 -0)
📝 src/emulator.cpp (+35 -8)
📝 src/emulator.h (+2 -1)
📝 src/main.cpp (+19 -20)
📝 src/vulkan_util.cpp (+20 -20)
📝 src/vulkan_util.h (+11 -11)

📄 Description

needed for pong , breakout , tetris homebrew


🔄 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/53 **Author:** [@georgemoralis](https://github.com/georgemoralis) **Created:** 10/9/2023 **Status:** ✅ Merged **Merged:** 10/13/2023 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `pad` --- ### 📝 Commits (4) - [`95f1c14`](https://github.com/shadps4-emu/shadPS4/commit/95f1c14dcfd8ade8801031c50c037e89a4390e47) added pad functions parameters - [`da9adf8`](https://github.com/shadps4-emu/shadPS4/commit/da9adf84c070e9c14f5d653d2f8098a645bf6fcf) some work on pad emulation (WIP) - [`e1b6461`](https://github.com/shadps4-emu/shadPS4/commit/e1b64617a80c57d9be4a3df20c4d369280b9f8a1) pad somehow working - [`5a905b0`](https://github.com/shadps4-emu/shadPS4/commit/5a905b0c4f175f018e06d91a5500a9dcb6df9994) map for dpad keys to emulator ### 📊 Changes **17 files changed** (+325 additions, -103 deletions) <details> <summary>View changed files</summary> 📝 `CMakeLists.txt` (+7 -0) 📝 `src/Core/PS4/HLE/Graphics/Objects/video_out_ctx.cpp` (+1 -1) 📝 `src/Core/PS4/HLE/Graphics/Objects/video_out_ctx.h` (+1 -1) 📝 `src/Core/PS4/HLE/Graphics/graphics_render.cpp` (+1 -1) 📝 `src/Core/PS4/HLE/Graphics/video_out.cpp` (+1 -1) 📝 `src/Core/PS4/HLE/LibSceGnmDriver.cpp` (+1 -1) ➕ `src/Emulator/HLE/Libraries/LibPad/controller.cpp` (+51 -0) ➕ `src/Emulator/HLE/Libraries/LibPad/controller.h` (+33 -0) 📝 `src/Emulator/HLE/Libraries/LibPad/pad.cpp` (+33 -2) 📝 `src/Emulator/HLE/Libraries/LibPad/pad.h` (+83 -36) 📝 `src/Emulator/HLE/Libraries/LibUserService/user_service.h` (+2 -0) ➕ `src/Emulator/Util/singleton.h` (+24 -0) 📝 `src/emulator.cpp` (+35 -8) 📝 `src/emulator.h` (+2 -1) 📝 `src/main.cpp` (+19 -20) 📝 `src/vulkan_util.cpp` (+20 -20) 📝 `src/vulkan_util.h` (+11 -11) </details> ### 📄 Description needed for pong , breakout , tetris homebrew --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 21:11:46 +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#1245
No description provided.