[PR #200] [MERGED] scePad library rewrite #1387

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/200
Author: @georgemoralis
Created: 6/15/2024
Status: Merged
Merged: 6/22/2024
Merged by: @georgemoralis

Base: mainHead: padrewrite


📝 Commits (10+)

  • 0aa2942 new pad module structured using modulegenerator , added common pad structures and function signatures
  • 9501bd7 clang fix
  • 57c65ca fixes to the old pad code
  • 48d6ccd partially added analog controls
  • 91e6d35 analog support via keyboard
  • b17a57c analog sticks works better now
  • 0325e47 posix_pthread_yield , scePadGetHandle
  • 49601f5 initial dents support
  • 1b2c3cc better dirents
  • 19edb81 fixed stupid directory iterator issue

📊 Changes

11 files changed (+1161 additions, -180 deletions)

View changed files

📝 src/core/file_sys/fs.cpp (+6 -8)
📝 src/core/file_sys/fs.h (+6 -1)
📝 src/core/libraries/kernel/file_system.cpp (+85 -9)
📝 src/core/libraries/kernel/file_system.h (+10 -0)
📝 src/core/libraries/kernel/thread_management.cpp (+6 -0)
📝 src/core/libraries/libs.cpp (+1 -1)
📝 src/core/libraries/pad/pad.cpp (+586 -59)
📝 src/core/libraries/pad/pad.h (+278 -79)
📝 src/input/controller.cpp (+37 -8)
📝 src/input/controller.h (+22 -4)
📝 src/sdl_window.cpp (+124 -11)

📄 Description

Purpose of this pr is

  • Design an interface to support different input types such as keyboard and gamepad via SDL
  • Support more than 1 player (2 probably is ideal)
  • Support keymapping

🔄 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/200 **Author:** [@georgemoralis](https://github.com/georgemoralis) **Created:** 6/15/2024 **Status:** ✅ Merged **Merged:** 6/22/2024 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `padrewrite` --- ### 📝 Commits (10+) - [`0aa2942`](https://github.com/shadps4-emu/shadPS4/commit/0aa29428e11f1fe8ed982bcfd8fa288a9ac9c4d9) new pad module structured using modulegenerator , added common pad structures and function signatures - [`9501bd7`](https://github.com/shadps4-emu/shadPS4/commit/9501bd77d44db008b01e194882b78f357b895e14) clang fix - [`57c65ca`](https://github.com/shadps4-emu/shadPS4/commit/57c65cadb82249dc2cc31af8605c88011d59755c) fixes to the old pad code - [`48d6ccd`](https://github.com/shadps4-emu/shadPS4/commit/48d6ccd9bb78301bae73c91fbce814168e21c326) partially added analog controls - [`91e6d35`](https://github.com/shadps4-emu/shadPS4/commit/91e6d35e8905b9eaea49449b457a681287930e09) analog support via keyboard - [`b17a57c`](https://github.com/shadps4-emu/shadPS4/commit/b17a57cb3d813949128de5f58e2082680aa99b02) analog sticks works better now - [`0325e47`](https://github.com/shadps4-emu/shadPS4/commit/0325e4795a86801d6ed0314047434ad16b88e3cd) posix_pthread_yield , scePadGetHandle - [`49601f5`](https://github.com/shadps4-emu/shadPS4/commit/49601f58ed7ad0f5a2b57810baeba2c03c10e5a5) initial dents support - [`1b2c3cc`](https://github.com/shadps4-emu/shadPS4/commit/1b2c3ccc421d38d6607246a151efd45c7062fe15) better dirents - [`19edb81`](https://github.com/shadps4-emu/shadPS4/commit/19edb8155f5f92af2253c68ae17a4c1474e000d9) fixed stupid directory iterator issue ### 📊 Changes **11 files changed** (+1161 additions, -180 deletions) <details> <summary>View changed files</summary> 📝 `src/core/file_sys/fs.cpp` (+6 -8) 📝 `src/core/file_sys/fs.h` (+6 -1) 📝 `src/core/libraries/kernel/file_system.cpp` (+85 -9) 📝 `src/core/libraries/kernel/file_system.h` (+10 -0) 📝 `src/core/libraries/kernel/thread_management.cpp` (+6 -0) 📝 `src/core/libraries/libs.cpp` (+1 -1) 📝 `src/core/libraries/pad/pad.cpp` (+586 -59) 📝 `src/core/libraries/pad/pad.h` (+278 -79) 📝 `src/input/controller.cpp` (+37 -8) 📝 `src/input/controller.h` (+22 -4) 📝 `src/sdl_window.cpp` (+124 -11) </details> ### 📄 Description Purpose of this pr is - [ ] Design an interface to support different input types such as keyboard and gamepad via SDL - [ ] Support more than 1 player (2 probably is ideal) - [ ] Support keymapping --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 21:12:21 +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#1387
No description provided.