mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-15 20:57:56 -05:00
applets/controller: Change the input button to create input profiles
Co-authored-by: Its-Rei <kupfel@gmail.com>
This commit is contained in:
39
src/yuzu/configuration/configure_input_profile_dialog.h
Normal file
39
src/yuzu/configuration/configure_input_profile_dialog.h
Normal file
@ -0,0 +1,39 @@
|
||||
// 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;
|
||||
};
|
Reference in New Issue
Block a user