2020-07-22 14:39:53 +00:00
|
|
|
// Copyright 2020 yuzu Emulator Project
|
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <memory>
|
|
|
|
#include <QDialog>
|
|
|
|
|
|
|
|
class QPushButton;
|
|
|
|
|
2020-10-27 17:33:25 +00:00
|
|
|
class ConfigureInputPlayer;
|
|
|
|
|
2020-09-23 13:52:25 +00:00
|
|
|
class InputProfiles;
|
|
|
|
|
2020-08-27 19:16:47 +00:00
|
|
|
namespace InputCommon {
|
|
|
|
class InputSubsystem;
|
|
|
|
}
|
|
|
|
|
2020-07-22 14:39:53 +00:00
|
|
|
namespace Ui {
|
|
|
|
class ConfigureDebugController;
|
|
|
|
}
|
|
|
|
|
|
|
|
class ConfigureDebugController : public QDialog {
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2020-09-23 13:52:25 +00:00
|
|
|
explicit ConfigureDebugController(QWidget* parent, InputCommon::InputSubsystem* input_subsystem,
|
|
|
|
InputProfiles* profiles);
|
2020-07-22 14:39:53 +00:00
|
|
|
~ConfigureDebugController() override;
|
|
|
|
|
|
|
|
void ApplyConfiguration();
|
|
|
|
|
|
|
|
private:
|
|
|
|
void changeEvent(QEvent* event) override;
|
|
|
|
void RetranslateUI();
|
|
|
|
|
|
|
|
std::unique_ptr<Ui::ConfigureDebugController> ui;
|
2020-08-15 19:26:29 +00:00
|
|
|
|
|
|
|
ConfigureInputPlayer* debug_controller;
|
2020-07-22 14:39:53 +00:00
|
|
|
};
|