summaryrefslogtreecommitdiffstats
path: root/src/core/hid/emulated_console.h
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2023-04-12 04:39:05 +0200
committerbunnei <bunneidev@gmail.com>2023-06-03 09:05:56 +0200
commit5c1310dc5ddc022f70d376325e6c112e95348344 (patch)
treecc5c49deb2482c72b6a86bf3aa497def4cc4a8b1 /src/core/hid/emulated_console.h
parentandroid: Change wording for "Add Games" button (#100) (diff)
downloadyuzu-5c1310dc5ddc022f70d376325e6c112e95348344.tar
yuzu-5c1310dc5ddc022f70d376325e6c112e95348344.tar.gz
yuzu-5c1310dc5ddc022f70d376325e6c112e95348344.tar.bz2
yuzu-5c1310dc5ddc022f70d376325e6c112e95348344.tar.lz
yuzu-5c1310dc5ddc022f70d376325e6c112e95348344.tar.xz
yuzu-5c1310dc5ddc022f70d376325e6c112e95348344.tar.zst
yuzu-5c1310dc5ddc022f70d376325e6c112e95348344.zip
Diffstat (limited to '')
-rw-r--r--src/core/hid/emulated_console.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hid/emulated_console.h b/src/core/hid/emulated_console.h
index 697ecd2d6..79114bb6d 100644
--- a/src/core/hid/emulated_console.h
+++ b/src/core/hid/emulated_console.h
@@ -29,10 +29,10 @@ struct ConsoleMotionInfo {
MotionInput emulated{};
};
-using ConsoleMotionDevices = std::unique_ptr<Common::Input::InputDevice>;
+using ConsoleMotionDevices = std::array<std::unique_ptr<Common::Input::InputDevice>, 2>;
using TouchDevices = std::array<std::unique_ptr<Common::Input::InputDevice>, MaxTouchDevices>;
-using ConsoleMotionParams = Common::ParamPackage;
+using ConsoleMotionParams = std::array<Common::ParamPackage, 2>;
using TouchParams = std::array<Common::ParamPackage, MaxTouchDevices>;
using ConsoleMotionValues = ConsoleMotionInfo;