diff options
author | David Marcec <dmarcecguzman@gmail.com> | 2019-09-21 10:43:43 +0200 |
---|---|---|
committer | David Marcec <dmarcecguzman@gmail.com> | 2019-09-22 08:30:29 +0200 |
commit | 28181919a60c21d9c217fd56b9994fa7778a87c4 (patch) | |
tree | 0fe18715b0937b86d5e7d7824f000ce26088b06a /src/core/hle/service/hid/controllers/controller_base.h | |
parent | Deglobalize System: Friend (diff) | |
download | yuzu-28181919a60c21d9c217fd56b9994fa7778a87c4.tar yuzu-28181919a60c21d9c217fd56b9994fa7778a87c4.tar.gz yuzu-28181919a60c21d9c217fd56b9994fa7778a87c4.tar.bz2 yuzu-28181919a60c21d9c217fd56b9994fa7778a87c4.tar.lz yuzu-28181919a60c21d9c217fd56b9994fa7778a87c4.tar.xz yuzu-28181919a60c21d9c217fd56b9994fa7778a87c4.tar.zst yuzu-28181919a60c21d9c217fd56b9994fa7778a87c4.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/hid/controllers/controller_base.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/core/hle/service/hid/controllers/controller_base.h b/src/core/hle/service/hid/controllers/controller_base.h index 5e5097a03..7abe24f1d 100644 --- a/src/core/hle/service/hid/controllers/controller_base.h +++ b/src/core/hle/service/hid/controllers/controller_base.h @@ -11,6 +11,10 @@ namespace Core::Timing { class CoreTiming; } +namespace Core { +class System; +} + namespace Service::HID { class ControllerBase { public: @@ -18,7 +22,7 @@ public: virtual ~ControllerBase(); // Called when the controller is initialized - virtual void OnInit() = 0; + virtual void OnInit(Core::System& system) = 0; // When the controller is released virtual void OnRelease() = 0; @@ -30,7 +34,7 @@ public: // Called when input devices should be loaded virtual void OnLoadInputDevices() = 0; - void ActivateController(); + void ActivateController(Core::System& system); void DeactivateController(); |