diff options
| author | 2023-11-14 21:34:27 -0600 | |
|---|---|---|
| committer | 2023-11-15 09:59:54 -0600 | |
| commit | c9cd938dfd8fc40ec58d61dc453bc31d3b811496 (patch) | |
| tree | 212bc48872c33d21a9cf47b8c779a71cb04051f5 /src/core/hid/input_interpreter.cpp | |
| parent | Merge pull request #12032 from liamwhite/fruit-compiler (diff) | |
| download | yuzu-c9cd938dfd8fc40ec58d61dc453bc31d3b811496.tar.gz yuzu-c9cd938dfd8fc40ec58d61dc453bc31d3b811496.tar.xz yuzu-c9cd938dfd8fc40ec58d61dc453bc31d3b811496.zip | |
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 @@ | |||
| 5 | #include "core/hid/hid_types.h" | 5 | #include "core/hid/hid_types.h" |
| 6 | #include "core/hid/input_interpreter.h" | 6 | #include "core/hid/input_interpreter.h" |
| 7 | #include "core/hle/service/hid/controllers/npad.h" | 7 | #include "core/hle/service/hid/controllers/npad.h" |
| 8 | #include "core/hle/service/hid/hid.h" | 8 | #include "core/hle/service/hid/hid_server.h" |
| 9 | #include "core/hle/service/hid/resource_manager.h" | ||
| 9 | #include "core/hle/service/sm/sm.h" | 10 | #include "core/hle/service/sm/sm.h" |
| 10 | 11 | ||
| 11 | InputInterpreter::InputInterpreter(Core::System& system) | 12 | InputInterpreter::InputInterpreter(Core::System& system) |
| 12 | : npad{system.ServiceManager() | 13 | : npad{system.ServiceManager() |
| 13 | .GetService<Service::HID::Hid>("hid") | 14 | .GetService<Service::HID::IHidServer>("hid") |
| 14 | ->GetAppletResource() | 15 | ->GetResourceManager() |
| 15 | ->GetController<Service::HID::Controller_NPad>(Service::HID::HidController::NPad)} { | 16 | ->GetController<Service::HID::Controller_NPad>(Service::HID::HidController::NPad)} { |
| 16 | ResetButtonStates(); | 17 | ResetButtonStates(); |
| 17 | } | 18 | } |