Qt: add customizable controller hotkeys (#3369)

* customizable controller hotkeys - initial

* Update input_handler.h
This commit is contained in:
rainmakerv2
2025-08-03 16:59:12 +08:00
committed by GitHub
parent a362f20dae
commit c7f1c66b82
15 changed files with 1067 additions and 15 deletions

View File

@@ -20,6 +20,7 @@
#include "common/string_util.h"
#include "control_settings.h"
#include "game_install_dialog.h"
#include "hotkeys.h"
#include "kbm_gui.h"
#include "main_window.h"
#include "settings_dialog.h"
@@ -495,6 +496,11 @@ void MainWindow::CreateConnects() {
aboutDialog->exec();
});
connect(ui->configureHotkeys, &QAction::triggered, this, [this]() {
auto hotkeyDialog = new hotkeys(isGameRunning, this);
hotkeyDialog->exec();
});
connect(ui->setIconSizeTinyAct, &QAction::triggered, this, [this]() {
if (isTableList) {
m_game_list_frame->icon_size =