summaryrefslogtreecommitdiff
path: root/src/core/hid/emulated_console.h
diff options
context:
space:
mode:
authorGravatar Narr the Reg2023-04-11 20:39:05 -0600
committerGravatar bunnei2023-06-03 00:05:56 -0700
commit5c1310dc5ddc022f70d376325e6c112e95348344 (patch)
treecc5c49deb2482c72b6a86bf3aa497def4cc4a8b1 /src/core/hid/emulated_console.h
parentandroid: Change wording for "Add Games" button (#100) (diff)
downloadyuzu-5c1310dc5ddc022f70d376325e6c112e95348344.tar.gz
yuzu-5c1310dc5ddc022f70d376325e6c112e95348344.tar.xz
yuzu-5c1310dc5ddc022f70d376325e6c112e95348344.zip
core: hid: Finish linking motion from virtual controllers
Diffstat (limited to 'src/core/hid/emulated_console.h')
-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 {
29 MotionInput emulated{}; 29 MotionInput emulated{};
30}; 30};
31 31
32using ConsoleMotionDevices = std::unique_ptr<Common::Input::InputDevice>; 32using ConsoleMotionDevices = std::array<std::unique_ptr<Common::Input::InputDevice>, 2>;
33using TouchDevices = std::array<std::unique_ptr<Common::Input::InputDevice>, MaxTouchDevices>; 33using TouchDevices = std::array<std::unique_ptr<Common::Input::InputDevice>, MaxTouchDevices>;
34 34
35using ConsoleMotionParams = Common::ParamPackage; 35using ConsoleMotionParams = std::array<Common::ParamPackage, 2>;
36using TouchParams = std::array<Common::ParamPackage, MaxTouchDevices>; 36using TouchParams = std::array<Common::ParamPackage, MaxTouchDevices>;
37 37
38using ConsoleMotionValues = ConsoleMotionInfo; 38using ConsoleMotionValues = ConsoleMotionInfo;