mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-28 06:16:23 -05:00
40 lines
898 B
C++
40 lines
898 B
C++
|
// 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>
|
||
|
#include "yuzu/configuration/configure_input_player.h"
|
||
|
|
||
|
class QPushButton;
|
||
|
|
||
|
class InputProfiles;
|
||
|
|
||
|
namespace InputCommon {
|
||
|
class InputSubsystem;
|
||
|
}
|
||
|
|
||
|
namespace Ui {
|
||
|
class ConfigureInputProfileDialog;
|
||
|
}
|
||
|
|
||
|
class ConfigureInputProfileDialog : public QDialog {
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
explicit ConfigureInputProfileDialog(QWidget* parent,
|
||
|
InputCommon::InputSubsystem* input_subsystem,
|
||
|
InputProfiles* profiles);
|
||
|
~ConfigureInputProfileDialog() override;
|
||
|
|
||
|
private:
|
||
|
void changeEvent(QEvent* event) override;
|
||
|
void RetranslateUI();
|
||
|
|
||
|
std::unique_ptr<Ui::ConfigureInputProfileDialog> ui;
|
||
|
|
||
|
ConfigureInputPlayer* profile_widget;
|
||
|
};
|