summaryrefslogblamecommitdiffstats
path: root/src/yuzu/configuration/configure_debug_controller.h
blob: aaed717e2855447b97b178f94b39e20cddab385d (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                                                               




                  


                  

                           

                    

                     

 



                       







                                                 
                                                                                                    

                                                                                            







                                             
                                                     

                                           
  
// 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;
};