diff options
author | german77 <juangerman-13@hotmail.com> | 2022-10-09 19:49:07 +0200 |
---|---|---|
committer | german77 <juangerman-13@hotmail.com> | 2022-10-09 19:49:18 +0200 |
commit | 224a19758efff450b78dbba43c80f73e55599074 (patch) | |
tree | f4fc806374474298f65b847521027a5aba540bd8 /src/input_common | |
parent | Merge pull request #9016 from liamwhite/drunken-schedule (diff) | |
download | yuzu-224a19758efff450b78dbba43c80f73e55599074.tar yuzu-224a19758efff450b78dbba43c80f73e55599074.tar.gz yuzu-224a19758efff450b78dbba43c80f73e55599074.tar.bz2 yuzu-224a19758efff450b78dbba43c80f73e55599074.tar.lz yuzu-224a19758efff450b78dbba43c80f73e55599074.tar.xz yuzu-224a19758efff450b78dbba43c80f73e55599074.tar.zst yuzu-224a19758efff450b78dbba43c80f73e55599074.zip |
Diffstat (limited to '')
-rw-r--r-- | src/input_common/input_poller.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/input_common/input_poller.cpp b/src/input_common/input_poller.cpp index 75705b67e..ca33fb4eb 100644 --- a/src/input_common/input_poller.cpp +++ b/src/input_common/input_poller.cpp @@ -691,9 +691,12 @@ public: } void OnChange() { + const auto camera_status = GetStatus(); + const Common::Input::CallbackStatus status{ .type = Common::Input::InputType::IrSensor, - .camera_status = GetStatus(), + .camera_status = camera_status.format, + .raw_data = camera_status.data, }; TriggerOnChange(status); @@ -732,9 +735,12 @@ public: } void OnChange() { + const auto nfc_status = GetStatus(); + const Common::Input::CallbackStatus status{ .type = Common::Input::InputType::Nfc, - .nfc_status = GetStatus(), + .nfc_status = nfc_status.state, + .raw_data = nfc_status.data, }; TriggerOnChange(status); |