summaryrefslogtreecommitdiffstats
path: root/src/core/hid/emulated_console.cpp
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2022-11-28 19:12:08 +0100
committerGitHub <noreply@github.com>2022-11-28 19:12:08 +0100
commit64ff79f919987685d5328114c4125140fece98d1 (patch)
tree46cdffe7768f619a621aa50fe82f813d15bd517e /src/core/hid/emulated_console.cpp
parentMerge pull request #9336 from lioncash/themepath (diff)
parentcore/hid/emulated_controller: Use ranges version of transform (diff)
downloadyuzu-64ff79f919987685d5328114c4125140fece98d1.tar
yuzu-64ff79f919987685d5328114c4125140fece98d1.tar.gz
yuzu-64ff79f919987685d5328114c4125140fece98d1.tar.bz2
yuzu-64ff79f919987685d5328114c4125140fece98d1.tar.lz
yuzu-64ff79f919987685d5328114c4125140fece98d1.tar.xz
yuzu-64ff79f919987685d5328114c4125140fece98d1.tar.zst
yuzu-64ff79f919987685d5328114c4125140fece98d1.zip
Diffstat (limited to 'src/core/hid/emulated_console.cpp')
-rw-r--r--src/core/hid/emulated_console.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hid/emulated_console.cpp b/src/core/hid/emulated_console.cpp
index fb7e5802a..b6c8cc58d 100644
--- a/src/core/hid/emulated_console.cpp
+++ b/src/core/hid/emulated_console.cpp
@@ -68,7 +68,7 @@ void EmulatedConsole::ReloadInput() {
// If you load any device here add the equivalent to the UnloadInput() function
SetTouchParams();
- motion_devices = Common::Input::CreateDevice<Common::Input::InputDevice>(motion_params);
+ motion_devices = Common::Input::CreateInputDevice(motion_params);
if (motion_devices) {
motion_devices->SetCallback({
.on_change =
@@ -79,7 +79,7 @@ void EmulatedConsole::ReloadInput() {
// Unique index for identifying touch device source
std::size_t index = 0;
for (auto& touch_device : touch_devices) {
- touch_device = Common::Input::CreateDevice<Common::Input::InputDevice>(touch_params[index]);
+ touch_device = Common::Input::CreateInputDevice(touch_params[index]);
if (!touch_device) {
continue;
}