diff options
| author | Narr the Reg <juangerman-13@hotmail.com> | 2023-11-14 21:34:27 -0600 |
|---|---|---|
| committer | Narr the Reg <juangerman-13@hotmail.com> | 2023-11-15 09:59:54 -0600 |
| commit | 174c52d27bc882402afc136bbb82e59fde96833a (patch) | |
| tree | 212bc48872c33d21a9cf47b8c779a71cb04051f5 /src/core/hid/input_interpreter.cpp | |
| parent | 7f9a8173fb54ee8530ce9acb2ab094f2344c4786 (diff) | |
service: hid: Split hid.cpp into individual interfaces
Diffstat (limited to 'src/core/hid/input_interpreter.cpp')
| -rw-r--r-- | src/core/hid/input_interpreter.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/core/hid/input_interpreter.cpp b/src/core/hid/input_interpreter.cpp index 76d6b8ab02..11359f318c 100644 --- a/src/core/hid/input_interpreter.cpp +++ b/src/core/hid/input_interpreter.cpp @@ -5,13 +5,14 @@ #include "core/hid/hid_types.h" #include "core/hid/input_interpreter.h" #include "core/hle/service/hid/controllers/npad.h" -#include "core/hle/service/hid/hid.h" +#include "core/hle/service/hid/hid_server.h" +#include "core/hle/service/hid/resource_manager.h" #include "core/hle/service/sm/sm.h" InputInterpreter::InputInterpreter(Core::System& system) : npad{system.ServiceManager() - .GetService<Service::HID::Hid>("hid") - ->GetAppletResource() + .GetService<Service::HID::IHidServer>("hid") + ->GetResourceManager() ->GetController<Service::HID::Controller_NPad>(Service::HID::HidController::NPad)} { ResetButtonStates(); } |
