mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-26 00:05:58 +03:00
[PR #3144] [MERGED] Controller Remapping GUI v2 #3260
Labels
No labels
Bloodborne
bug
contributor wanted
documentation
enhancement
frontend
good first issue
help wanted
linux
pull-request
question
release
verification progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shadPS4#3260
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/shadps4-emu/shadPS4/pull/3144
Author: @rainmakerv3
Created: 6/22/2025
Status: ✅ Merged
Merged: 6/27/2025
Merged by: @kalaposfos13
Base:
main← Head:GUI-v2📝 Commits (10+)
cbf08f7Remapping GUI V2 - initial commit71bca8bUnmap button with escape key5430ca0Allow combination inputsb74eb79Use separate class for SDL event signals so that i can work with the SDL window event loopdb65bf4Automatically pause game when GUI open to better manage event queuecd4931bMove sd;_gamepad_added event from remap object to GUI object to avoid conflicts with sdl window86be802Use signals on button/trigger to release to make GUI more responsive8b08e2bpause game while KBM window is open for consistency7d14392don't check gamepad when game is running to avoid conflicts134ae3eBlock all other sdl events instead of pausing game, automatic parse inputs after saving📊 Changes
11 files changed (+1198 additions, -605 deletions)
View changed files
📝
CMakeLists.txt(+2 -0)📝
src/qt_gui/control_settings.cpp(+632 -281)📝
src/qt_gui/control_settings.h(+43 -27)📝
src/qt_gui/control_settings.ui(+392 -284)📝
src/qt_gui/kbm_gui.cpp(+33 -9)📝
src/qt_gui/kbm_gui.h(+5 -1)📝
src/qt_gui/main_window.cpp(+6 -3)📝
src/qt_gui/main_window.h(+2 -0)➕
src/qt_gui/sdl_event_wrapper.cpp(+47 -0)➕
src/qt_gui/sdl_event_wrapper.h(+25 -0)📝
src/sdl_window.cpp(+11 -0)📄 Description
Re-did the controller remapping GUI to be similar to the KBM GUI, it now listens for controller inputs instead of choosing items from a drop-down box.
Also to make it more consistent with the KBM GUI, the selections now represent inputs instead of outputs.
For now, controller only be remapped while a game in not running (so as to simplify SDL event loop handling).
Have not been able to test a lot, would be good to get a couple testers.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.