diff options
author | David Marcec <dmarcecguzman@gmail.com> | 2018-10-06 05:14:42 +0200 |
---|---|---|
committer | David Marcec <dmarcecguzman@gmail.com> | 2018-10-10 04:15:37 +0200 |
commit | 5857aea94ef52186f64a6794adf418ba92329329 (patch) | |
tree | 24223b61b3165725a07bbf421817c1ec34b02abe /src/core/hle/service/hid/controllers/stubbed.h | |
parent | "Better Hid" rework part 1 (diff) | |
download | yuzu-5857aea94ef52186f64a6794adf418ba92329329.tar yuzu-5857aea94ef52186f64a6794adf418ba92329329.tar.gz yuzu-5857aea94ef52186f64a6794adf418ba92329329.tar.bz2 yuzu-5857aea94ef52186f64a6794adf418ba92329329.tar.lz yuzu-5857aea94ef52186f64a6794adf418ba92329329.tar.xz yuzu-5857aea94ef52186f64a6794adf418ba92329329.tar.zst yuzu-5857aea94ef52186f64a6794adf418ba92329329.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/hid/controllers/stubbed.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/core/hle/service/hid/controllers/stubbed.h b/src/core/hle/service/hid/controllers/stubbed.h index ec7adacb3..9c1b57f83 100644 --- a/src/core/hle/service/hid/controllers/stubbed.h +++ b/src/core/hle/service/hid/controllers/stubbed.h @@ -3,13 +3,14 @@ // Refer to the license.txt file included. #pragma once + #include "common/common_types.h" #include "core/hle/service/hid/controllers/controller_base.h" namespace Service::HID { class Controller_Stubbed final : public ControllerBase { public: - Controller_Stubbed() = default; + Controller_Stubbed(); // Called when the controller is initialized void OnInit() override; @@ -18,15 +19,15 @@ public: void OnRelease() override; // When the controller is requesting an update for the shared memory - void OnUpdate(u8* data, size_t size) override; + void OnUpdate(u8* data, std::size_t size) override; // Called when input devices should be loaded void OnLoadInputDevices() override; - void SetCommonHeaderOffset(size_t off); + void SetCommonHeaderOffset(std::size_t off); private: bool smart_update{}; - size_t common_offset{}; + std::size_t common_offset{}; }; -}; // namespace Service::HID +} // namespace Service::HID |