diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2024-01-20 19:34:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-20 19:34:54 +0100 |
commit | 5838779162897606a3525eb619379a56b2eec027 (patch) | |
tree | 3c3530e2f955545968fcc605122aa7565f4b5f1a /src/hid_core/resources/npad/npad_types.h | |
parent | Merge pull request #12701 from liamwhite/flinger-layer-issues (diff) | |
parent | service: hid: Fully implement abstract vibration (diff) | |
download | yuzu-5838779162897606a3525eb619379a56b2eec027.tar yuzu-5838779162897606a3525eb619379a56b2eec027.tar.gz yuzu-5838779162897606a3525eb619379a56b2eec027.tar.bz2 yuzu-5838779162897606a3525eb619379a56b2eec027.tar.lz yuzu-5838779162897606a3525eb619379a56b2eec027.tar.xz yuzu-5838779162897606a3525eb619379a56b2eec027.tar.zst yuzu-5838779162897606a3525eb619379a56b2eec027.zip |
Diffstat (limited to 'src/hid_core/resources/npad/npad_types.h')
-rw-r--r-- | src/hid_core/resources/npad/npad_types.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/hid_core/resources/npad/npad_types.h b/src/hid_core/resources/npad/npad_types.h index fd86c8e40..92700d69a 100644 --- a/src/hid_core/resources/npad/npad_types.h +++ b/src/hid_core/resources/npad/npad_types.h @@ -8,6 +8,10 @@ #include "common/common_types.h" #include "hid_core/hid_types.h" +namespace Core::HID { +class EmulatedController; +} + namespace Service::HID { static constexpr std::size_t MaxSupportedNpadIdTypes = 10; static constexpr std::size_t StyleIndexCount = 7; @@ -348,7 +352,7 @@ struct IAbstractedPad { u8 indicator; std::vector<f32> virtual_six_axis_sensor_acceleration; std::vector<f32> virtual_six_axis_sensor_angle; - u64 xcd_handle; + Core::HID::EmulatedController* xcd_handle; u64 color; }; } // namespace Service::HID |