diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2024-01-29 15:08:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-29 15:08:52 +0100 |
commit | adfdc9520a616ebc640188968ba21061e2e8df50 (patch) | |
tree | fe299ed6cbe0f84b4811cf093d826b5161152b94 /src/hid_core/resources/system_buttons/home_button.h | |
parent | Merge pull request #12814 from Kelebek1/time_new_ipc (diff) | |
parent | service: hid: Implement home, capture and sleep buttons (diff) | |
download | yuzu-adfdc9520a616ebc640188968ba21061e2e8df50.tar yuzu-adfdc9520a616ebc640188968ba21061e2e8df50.tar.gz yuzu-adfdc9520a616ebc640188968ba21061e2e8df50.tar.bz2 yuzu-adfdc9520a616ebc640188968ba21061e2e8df50.tar.lz yuzu-adfdc9520a616ebc640188968ba21061e2e8df50.tar.xz yuzu-adfdc9520a616ebc640188968ba21061e2e8df50.tar.zst yuzu-adfdc9520a616ebc640188968ba21061e2e8df50.zip |
Diffstat (limited to 'src/hid_core/resources/system_buttons/home_button.h')
-rw-r--r-- | src/hid_core/resources/system_buttons/home_button.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/hid_core/resources/system_buttons/home_button.h b/src/hid_core/resources/system_buttons/home_button.h index ecf8327f4..a9374828d 100644 --- a/src/hid_core/resources/system_buttons/home_button.h +++ b/src/hid_core/resources/system_buttons/home_button.h @@ -4,6 +4,7 @@ #pragma once #include "hid_core/resources/controller_base.h" +#include "hid_core/resources/system_buttons/system_button_types.h" namespace Service::HID { @@ -22,6 +23,6 @@ public: void OnUpdate(const Core::Timing::CoreTiming& core_timing) override; private: - bool smart_update{}; + HomeButtonState next_state{}; }; } // namespace Service::HID |