diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-11-12 02:02:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-12 02:02:23 +0100 |
commit | 767c4b5a992bfeeae9194bc9f5a3dc63996645df (patch) | |
tree | ffff212b7bc47c001d46b0ed8dc2bda517130284 /src/core/hle/service/hid/irsensor/clustering_processor.h | |
parent | Merge pull request #12005 from german77/homebrew_id (diff) | |
parent | service: irs: Implement moment image processor (diff) | |
download | yuzu-767c4b5a992bfeeae9194bc9f5a3dc63996645df.tar yuzu-767c4b5a992bfeeae9194bc9f5a3dc63996645df.tar.gz yuzu-767c4b5a992bfeeae9194bc9f5a3dc63996645df.tar.bz2 yuzu-767c4b5a992bfeeae9194bc9f5a3dc63996645df.tar.lz yuzu-767c4b5a992bfeeae9194bc9f5a3dc63996645df.tar.xz yuzu-767c4b5a992bfeeae9194bc9f5a3dc63996645df.tar.zst yuzu-767c4b5a992bfeeae9194bc9f5a3dc63996645df.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/hid/irsensor/clustering_processor.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/core/hle/service/hid/irsensor/clustering_processor.h b/src/core/hle/service/hid/irsensor/clustering_processor.h index dc01a8ea7..83f34734a 100644 --- a/src/core/hle/service/hid/irsensor/clustering_processor.h +++ b/src/core/hle/service/hid/irsensor/clustering_processor.h @@ -8,6 +8,10 @@ #include "core/hle/service/hid/irs_ring_lifo.h" #include "core/hle/service/hid/irsensor/processor_base.h" +namespace Core { +class System; +} + namespace Core::HID { class EmulatedController; } // namespace Core::HID @@ -15,8 +19,7 @@ class EmulatedController; namespace Service::IRS { class ClusteringProcessor final : public ProcessorBase { public: - explicit ClusteringProcessor(Core::HID::HIDCore& hid_core_, - Core::IrSensor::DeviceFormat& device_format, + explicit ClusteringProcessor(Core::System& system_, Core::IrSensor::DeviceFormat& device_format, std::size_t npad_index); ~ClusteringProcessor() override; @@ -106,5 +109,7 @@ private: Core::IrSensor::DeviceFormat& device; Core::HID::EmulatedController* npad_device; int callback_key{}; + + Core::System& system; }; } // namespace Service::IRS |