configure_debug_controller.h 873 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. // Copyright 2020 yuzu Emulator Project
  2. // Licensed under GPLv2 or any later version
  3. // Refer to the license.txt file included.
  4. #pragma once
  5. #include <memory>
  6. #include <QDialog>
  7. #include "yuzu/configuration/configure_input_player.h"
  8. class QPushButton;
  9. class InputProfiles;
  10. namespace InputCommon {
  11. class InputSubsystem;
  12. }
  13. namespace Ui {
  14. class ConfigureDebugController;
  15. }
  16. class ConfigureDebugController : public QDialog {
  17. Q_OBJECT
  18. public:
  19. explicit ConfigureDebugController(QWidget* parent, InputCommon::InputSubsystem* input_subsystem,
  20. InputProfiles* profiles);
  21. ~ConfigureDebugController() override;
  22. void ApplyConfiguration();
  23. private:
  24. void changeEvent(QEvent* event) override;
  25. void RetranslateUI();
  26. std::unique_ptr<Ui::ConfigureDebugController> ui;
  27. ConfigureInputPlayer* debug_controller;
  28. };