diff options
| author | 2023-11-23 12:36:19 -0500 | |
|---|---|---|
| committer | 2023-11-23 12:36:19 -0500 | |
| commit | 0b766e4523dea156d69aab1a2a43b55f50c65071 (patch) | |
| tree | 44715eb026414d084f3f493f137b578339884a99 /src/core/hid/input_interpreter.h | |
| parent | Merge pull request #12123 from merryhime/explicit-this (diff) | |
| parent | service: hid: Create appropriate hid resources (diff) | |
| download | yuzu-0b766e4523dea156d69aab1a2a43b55f50c65071.tar.gz yuzu-0b766e4523dea156d69aab1a2a43b55f50c65071.tar.xz yuzu-0b766e4523dea156d69aab1a2a43b55f50c65071.zip | |
Merge pull request #12076 from german77/resource
service: hid: Create appropriate hid resources
Diffstat (limited to 'src/core/hid/input_interpreter.h')
| -rw-r--r-- | src/core/hid/input_interpreter.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hid/input_interpreter.h b/src/core/hid/input_interpreter.h index 8c521b381..3569aac93 100644 --- a/src/core/hid/input_interpreter.h +++ b/src/core/hid/input_interpreter.h | |||
| @@ -16,7 +16,7 @@ enum class NpadButton : u64; | |||
| 16 | } | 16 | } |
| 17 | 17 | ||
| 18 | namespace Service::HID { | 18 | namespace Service::HID { |
| 19 | class Controller_NPad; | 19 | class NPad; |
| 20 | } | 20 | } |
| 21 | 21 | ||
| 22 | /** | 22 | /** |
| @@ -101,7 +101,7 @@ public: | |||
| 101 | } | 101 | } |
| 102 | 102 | ||
| 103 | private: | 103 | private: |
| 104 | Service::HID::Controller_NPad& npad; | 104 | std::shared_ptr<Service::HID::NPad> npad; |
| 105 | 105 | ||
| 106 | /// Stores 9 consecutive button states polled from HID. | 106 | /// Stores 9 consecutive button states polled from HID. |
| 107 | std::array<Core::HID::NpadButton, 9> button_states{}; | 107 | std::array<Core::HID::NpadButton, 9> button_states{}; |