aboutsummaryrefslogtreecommitdiff
path: root/src/core/hid/hid_core.cpp
diff options
context:
space:
mode:
authorAmeer J <52414509+ameerj@users.noreply.github.com>2023-11-26 21:08:53 -0500
committerGitHub <noreply@github.com>2023-11-26 21:08:53 -0500
commita9e011c9c2c3efd777fabbac709f2af3bc7627d4 (patch)
treec219aacab776c0a1e3956614b60a01fa2f6164cb /src/core/hid/hid_core.cpp
parentb49639e786bc9a9ec324b30574d296df1f743733 (diff)
parent896ae72dbf9dbcfb1d804ab70d871f0d3a4bb513 (diff)
Merge branch 'master' into ssbo-align
Diffstat (limited to 'src/core/hid/hid_core.cpp')
-rw-r--r--src/core/hid/hid_core.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/hid/hid_core.cpp b/src/core/hid/hid_core.cpp
index cf53c04d9a..2cf25a870b 100644
--- a/src/core/hid/hid_core.cpp
+++ b/src/core/hid/hid_core.cpp
@@ -6,6 +6,7 @@
#include "core/hid/emulated_controller.h"
#include "core/hid/emulated_devices.h"
#include "core/hid/hid_core.h"
+#include "core/hle/service/hid/hid_util.h"
namespace Core::HID {
@@ -98,11 +99,11 @@ const EmulatedDevices* HIDCore::GetEmulatedDevices() const {
}
EmulatedController* HIDCore::GetEmulatedControllerByIndex(std::size_t index) {
- return GetEmulatedController(IndexToNpadIdType(index));
+ return GetEmulatedController(Service::HID::IndexToNpadIdType(index));
}
const EmulatedController* HIDCore::GetEmulatedControllerByIndex(std::size_t index) const {
- return GetEmulatedController(IndexToNpadIdType(index));
+ return GetEmulatedController(Service::HID::IndexToNpadIdType(index));
}
void HIDCore::SetSupportedStyleTag(NpadStyleTag style_tag) {