mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-25 15:56:00 +03:00
[PR #3169] [MERGED] Multiple controllers: Select active controller and set default controller #3277
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#3277
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/3169
Author: @rainmakerv3
Created: 6/29/2025
Status: ✅ Merged
Merged: 7/30/2025
Merged by: @georgemoralis
Base:
main← Head:controller-select📝 Commits (8)
46890ebinitial commit - not cleanup yet, not usable with imGUI1c4829bUgly solution to working with ImGUIa0bcccaPopulate the default controller labelsda65b8dAdd remove default button7db7dd1missing tr calls052e04dedit imgui flag after updating9e11889Refactor7525fbdUpdate sirit📊 Changes
10 files changed (+510 additions, -250 deletions)
View changed files
📝
src/common/config.cpp(+11 -0)📝
src/common/config.h(+2 -0)📝
src/imgui/renderer/imgui_impl_sdl3.cpp(+24 -11)📝
src/input/controller.cpp(+47 -0)📝
src/input/controller.h(+11 -0)📝
src/qt_gui/control_settings.cpp(+102 -19)📝
src/qt_gui/control_settings.h(+4 -1)📝
src/qt_gui/control_settings.ui(+281 -212)📝
src/sdl_window.cpp(+27 -5)📝
src/sdl_window.h(+1 -2)📄 Description
Currently shadps4 just selects the first detected gamepad to use, this PR allows controller selection in the GUI.
Unfortunately though, I don't know if I can work on this PR after this, as I may have to be inactive for a while again due to my work responsibilities picking up again starting tomorrow.
Assuming this needs further work (very likely) and also since the code is done kinda quickly and quite inelegant (even compared to my other stuff lol), I am very much ok if anyone else will want to take this over. Just leaving it here in case it proves useful.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.