summaryrefslogtreecommitdiffstats
path: root/src/yuzu/debugger/controller.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/yuzu/debugger/controller.h')
-rw-r--r--src/yuzu/debugger/controller.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/yuzu/debugger/controller.h b/src/yuzu/debugger/controller.h
index 697489cbb..33f617b9b 100644
--- a/src/yuzu/debugger/controller.h
+++ b/src/yuzu/debugger/controller.h
@@ -11,6 +11,10 @@ class QHideEvent;
class QShowEvent;
class PlayerControlPreview;
+namespace Core {
+class System;
+}
+
namespace InputCommon {
class InputSubsystem;
}
@@ -19,11 +23,14 @@ class ControllerDialog : public QWidget {
Q_OBJECT
public:
- explicit ControllerDialog(QWidget* parent = nullptr);
+ explicit ControllerDialog(Core::System& system, QWidget* parent = nullptr);
/// Returns a QAction that can be used to toggle visibility of this dialog.
QAction* toggleViewAction();
+ // Disables events from the emulated controller
+ void UnloadController();
+
protected:
void showEvent(QShowEvent* ev) override;
void hideEvent(QHideEvent* ev) override;