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, 3 insertions, 6 deletions
diff --git a/src/yuzu/debugger/controller.h b/src/yuzu/debugger/controller.h
index d08643baa..52cea3326 100644
--- a/src/yuzu/debugger/controller.h
+++ b/src/yuzu/debugger/controller.h
@@ -15,11 +15,8 @@ namespace InputCommon {
class InputSubsystem;
}
-namespace Core {
-class System;
-}
-
namespace Core::HID {
+class HIDCore;
class EmulatedController;
enum class ControllerTriggerType;
} // namespace Core::HID
@@ -28,7 +25,7 @@ class ControllerDialog : public QWidget {
Q_OBJECT
public:
- explicit ControllerDialog(Core::System& system_,
+ explicit ControllerDialog(Core::HID::HIDCore& hid_core_,
std::shared_ptr<InputCommon::InputSubsystem> input_subsystem_,
QWidget* parent = nullptr);
@@ -55,6 +52,6 @@ private:
QAction* toggle_view_action = nullptr;
PlayerControlPreview* widget;
- Core::System& system;
+ Core::HID::HIDCore& hid_core;
std::shared_ptr<InputCommon::InputSubsystem> input_subsystem;
};