mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-12-23 08:50:57 +01:00
99ceb03a1c
This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
45 lines
956 B
C++
45 lines
956 B
C++
// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include <memory>
|
|
#include <QDialog>
|
|
|
|
class QPushButton;
|
|
|
|
class ConfigureInputPlayer;
|
|
|
|
class InputProfiles;
|
|
|
|
namespace Core::HID {
|
|
class HIDCore;
|
|
}
|
|
|
|
namespace InputCommon {
|
|
class InputSubsystem;
|
|
}
|
|
|
|
namespace Ui {
|
|
class ConfigureDebugController;
|
|
}
|
|
|
|
class ConfigureDebugController : public QDialog {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit ConfigureDebugController(QWidget* parent, InputCommon::InputSubsystem* input_subsystem,
|
|
InputProfiles* profiles, Core::HID::HIDCore& hid_core,
|
|
bool is_powered_on);
|
|
~ConfigureDebugController() override;
|
|
|
|
void ApplyConfiguration();
|
|
|
|
private:
|
|
void changeEvent(QEvent* event) override;
|
|
void RetranslateUI();
|
|
|
|
std::unique_ptr<Ui::ConfigureDebugController> ui;
|
|
|
|
ConfigureInputPlayer* debug_controller;
|
|
};
|