diff options
author | Narr the Reg <juangerman-13@hotmail.com> | 2023-12-31 07:42:23 +0100 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2023-12-31 17:51:01 +0100 |
commit | 865abfc37c5b3e8945d833bd44db428ad720bd58 (patch) | |
tree | af37ccf552aad0403898fb371e639393efe7b9d4 /src/core/hle/service/hid/controllers/controller_base.h | |
parent | Merge pull request #12509 from liamwhite/ktrace (diff) | |
download | yuzu-865abfc37c5b3e8945d833bd44db428ad720bd58.tar yuzu-865abfc37c5b3e8945d833bd44db428ad720bd58.tar.gz yuzu-865abfc37c5b3e8945d833bd44db428ad720bd58.tar.bz2 yuzu-865abfc37c5b3e8945d833bd44db428ad720bd58.tar.lz yuzu-865abfc37c5b3e8945d833bd44db428ad720bd58.tar.xz yuzu-865abfc37c5b3e8945d833bd44db428ad720bd58.tar.zst yuzu-865abfc37c5b3e8945d833bd44db428ad720bd58.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/hid/controllers/controller_base.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/core/hle/service/hid/controllers/controller_base.h b/src/core/hle/service/hid/controllers/controller_base.h index 4326c7821..759ae0053 100644 --- a/src/core/hle/service/hid/controllers/controller_base.h +++ b/src/core/hle/service/hid/controllers/controller_base.h @@ -3,8 +3,11 @@ #pragma once +#include <memory> + #include "common/common_types.h" #include "core/hle/result.h" +#include "core/hle/service/hid/controllers/applet_resource.h" namespace Core::Timing { class CoreTiming; @@ -12,7 +15,7 @@ class CoreTiming; namespace Core::HID { class HIDCore; -} +} // namespace Core::HID namespace Service::HID { class ControllerBase { @@ -39,8 +42,11 @@ public: bool IsControllerActivated() const; + void SetAppletResource(std::shared_ptr<AppletResource> resource); + protected: bool is_activated{false}; + std::shared_ptr<AppletResource> applet_resource{nullptr}; Core::HID::HIDCore& hid_core; }; |