diff options
author | german77 <juangerman-13@hotmail.com> | 2021-10-15 19:07:47 -0500 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2021-11-24 20:30:24 -0600 |
commit | e0da5c1bbcdf85676f968b63c8ae2587f0464193 (patch) | |
tree | 588837d1181d6b9d3bd4536fd4d2c5877335632d /src/yuzu/debugger/controller.h | |
parent | 06a5ef5874144a70e30e577a83ba68d1dad79e78 (diff) |
kraken: Fix errors from rebase and format files
Diffstat (limited to 'src/yuzu/debugger/controller.h')
-rw-r--r-- | src/yuzu/debugger/controller.h | 9 |
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; |