diff options
author | Narr the Reg <juangerman-13@hotmail.com> | 2023-11-17 00:58:05 +0100 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2023-11-17 01:51:14 +0100 |
commit | 862e66202c1e612f56dad9bb0d9403b4af502178 (patch) | |
tree | 76d8d54e9874693467b66cd3d68cdbd4dc664cfa /src/core/hle/service/hid/hid.cpp | |
parent | service: hid: Implement xpad calls (diff) | |
download | yuzu-862e66202c1e612f56dad9bb0d9403b4af502178.tar yuzu-862e66202c1e612f56dad9bb0d9403b4af502178.tar.gz yuzu-862e66202c1e612f56dad9bb0d9403b4af502178.tar.bz2 yuzu-862e66202c1e612f56dad9bb0d9403b4af502178.tar.lz yuzu-862e66202c1e612f56dad9bb0d9403b4af502178.tar.xz yuzu-862e66202c1e612f56dad9bb0d9403b4af502178.tar.zst yuzu-862e66202c1e612f56dad9bb0d9403b4af502178.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/hid/hid.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/core/hle/service/hid/hid.cpp b/src/core/hle/service/hid/hid.cpp index 801a4d08f..1b7381d8d 100644 --- a/src/core/hle/service/hid/hid.cpp +++ b/src/core/hle/service/hid/hid.cpp @@ -3,6 +3,7 @@ #include "core/hle/service/hid/hid.h" #include "core/hle/service/hid/hid_debug_server.h" +#include "core/hle/service/hid/hid_firmware_settings.h" #include "core/hle/service/hid/hid_server.h" #include "core/hle/service/hid/hid_system_server.h" #include "core/hle/service/hid/hidbus.h" @@ -16,9 +17,11 @@ namespace Service::HID { void LoopProcess(Core::System& system) { auto server_manager = std::make_unique<ServerManager>(system); std::shared_ptr<ResourceManager> resouce_manager = std::make_shared<ResourceManager>(system); + std::shared_ptr<HidFirmwareSettings> firmware_settings = + std::make_shared<HidFirmwareSettings>(); - server_manager->RegisterNamedService("hid", - std::make_shared<IHidServer>(system, resouce_manager)); + server_manager->RegisterNamedService( + "hid", std::make_shared<IHidServer>(system, resouce_manager, firmware_settings)); server_manager->RegisterNamedService( "hid:dbg", std::make_shared<IHidDebugServer>(system, resouce_manager)); server_manager->RegisterNamedService( |