diff options
| author | liamwhite <liamwhite@users.noreply.github.com> | 2023-11-16 09:13:56 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-16 09:13:56 -0500 |
| commit | 7eac28e410e5c3293125602b91d8082e2c57ade1 (patch) | |
| tree | b2a263584ca273e636ae76e9bf47b1974f4ef68e /src/core/hid/input_interpreter.cpp | |
| parent | ea4c92f734fdcb26d20d1313a84d39cc95c9c575 (diff) | |
| parent | c9cd938dfd8fc40ec58d61dc453bc31d3b811496 (diff) | |
Merge pull request #12038 from german77/no_implement
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 76d6b8ab0..11359f318 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(); } |
