summaryrefslogtreecommitdiffstats
path: root/src/hid_core/resources/npad/npad.h
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2024-02-01 17:33:44 +0100
committerGitHub <noreply@github.com>2024-02-01 17:33:44 +0100
commit21138b6a867632c56330a48a7389430ae2b6e321 (patch)
tree6be048ee977f29f4c132d0cfb0bcdb79a7c5966d /src/hid_core/resources/npad/npad.h
parentMerge pull request #12870 from liamwhite/mac-ci (diff)
parentservice: hid: Restore active aruid (diff)
downloadyuzu-21138b6a867632c56330a48a7389430ae2b6e321.tar
yuzu-21138b6a867632c56330a48a7389430ae2b6e321.tar.gz
yuzu-21138b6a867632c56330a48a7389430ae2b6e321.tar.bz2
yuzu-21138b6a867632c56330a48a7389430ae2b6e321.tar.lz
yuzu-21138b6a867632c56330a48a7389430ae2b6e321.tar.xz
yuzu-21138b6a867632c56330a48a7389430ae2b6e321.tar.zst
yuzu-21138b6a867632c56330a48a7389430ae2b6e321.zip
Diffstat (limited to 'src/hid_core/resources/npad/npad.h')
-rw-r--r--src/hid_core/resources/npad/npad.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/hid_core/resources/npad/npad.h b/src/hid_core/resources/npad/npad.h
index 3b1a69e7f..4e26ed2e8 100644
--- a/src/hid_core/resources/npad/npad.h
+++ b/src/hid_core/resources/npad/npad.h
@@ -131,6 +131,7 @@ public:
void SetNpadExternals(std::shared_ptr<AppletResource> resource,
std::recursive_mutex* shared_mutex,
std::shared_ptr<HandheldConfig> handheld_config,
+ Kernel::KEvent* input_event, std::mutex* input_mutex,
std::shared_ptr<Service::Set::ISystemSettingsServer> settings);
AppletDetailedUiType GetAppletDetailedUiType(Core::HID::NpadIdType npad_id);
@@ -204,9 +205,6 @@ private:
std::array<AbstractPad, MaxSupportedNpadIdTypes> abstracted_pads;
NpadVibration vibration_handler{};
- Kernel::KEvent* input_event{nullptr};
- std::mutex* input_mutex{nullptr};
-
std::atomic<u64> press_state{};
std::array<std::array<NpadControllerData, MaxSupportedNpadIdTypes>, AruidIndexMax>
controller_data{};