add controller remapping GUI (#2311)

* Initial Version - controller remapping GUI

* rework saving to allow for multiple outputs to an input

* License header

* Remove PS logo from image

* Add per game checkbox, fix filename, better whitespace deletion

* Reorganize variables, correctly set common config label when selected

* Add option to unmap, set mapping to unmapped when config entry is absent

* Add XBox labels

* Remove parsing from save function, make window more compact

* Fix typo

* Code cleanup

* Additional cleanup

---------

Co-authored-by: rainmakerv2 <30595646+jpau02@users.noreply.github.com>
This commit is contained in:
rainmakerv2 2025-02-04 14:50:32 +08:00 committed by GitHub
parent 97441b62d1
commit e0d85a7e58
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 1937 additions and 2 deletions

View file

@ -16,6 +16,7 @@
#include "common/scm_rev.h"
#include "common/string_util.h"
#include "common/version.h"
#include "control_settings.h"
#include "core/file_format/pkg.h"
#include "core/loader.h"
#include "game_install_dialog.h"
@ -301,8 +302,8 @@ void MainWindow::CreateConnects() {
// this is the editor for kbm keybinds
connect(ui->controllerButton, &QPushButton::clicked, this, [this]() {
EditorDialog* editorWindow = new EditorDialog(this);
editorWindow->exec(); // Show the editor window modally
auto configWindow = new ControlSettings(m_game_info, this);
configWindow->exec();
});
#ifdef ENABLE_UPDATER