aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu/debugger/controller.h
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2021-11-04 19:05:58 -0600
committerNarr the Reg <juangerman-13@hotmail.com>2021-11-24 20:30:27 -0600
commite7eee36d52259321b938c350cb37a3b115953229 (patch)
tree8ca3f8f69829f6e5e80311ecf7224455c1a11107 /src/yuzu/debugger/controller.h
parent690013b342e6d9a9561017b2e94f42acfde25147 (diff)
service/hid: Remove includes of core.h and settings.h
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;
};