aboutsummaryrefslogtreecommitdiff
path: root/src/core/hid/input_interpreter.h
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-11-23 12:36:19 -0500
committerGitHub <noreply@github.com>2023-11-23 12:36:19 -0500
commit0b766e4523dea156d69aab1a2a43b55f50c65071 (patch)
tree44715eb026414d084f3f493f137b578339884a99 /src/core/hid/input_interpreter.h
parent91c12db07098625756338e682a4d300a27d7978c (diff)
parentcff2d0e19e164d879b57bab9d06306fa70a1049e (diff)
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.h4
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;
}
namespace Service::HID {
-class Controller_NPad;
+class NPad;
}
/**
@@ -101,7 +101,7 @@ public:
}
private:
- Service::HID::Controller_NPad& npad;
+ std::shared_ptr<Service::HID::NPad> npad;
/// Stores 9 consecutive button states polled from HID.
std::array<Core::HID::NpadButton, 9> button_states{};