mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-12-11 06:08:34 +00:00
Qt: add customizable controller hotkeys (#3369)
* customizable controller hotkeys - initial * Update input_handler.h
This commit is contained in:
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user