diff options
| author | 2023-04-11 20:39:05 -0600 | |
|---|---|---|
| committer | 2023-06-03 00:05:56 -0700 | |
| commit | 5c1310dc5ddc022f70d376325e6c112e95348344 (patch) | |
| tree | cc5c49deb2482c72b6a86bf3aa497def4cc4a8b1 /src/core/hid/emulated_console.h | |
| parent | android: Change wording for "Add Games" button (#100) (diff) | |
| download | yuzu-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.h | 4 |
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 | ||
| 32 | using ConsoleMotionDevices = std::unique_ptr<Common::Input::InputDevice>; | 32 | using ConsoleMotionDevices = std::array<std::unique_ptr<Common::Input::InputDevice>, 2>; |
| 33 | using TouchDevices = std::array<std::unique_ptr<Common::Input::InputDevice>, MaxTouchDevices>; | 33 | using TouchDevices = std::array<std::unique_ptr<Common::Input::InputDevice>, MaxTouchDevices>; |
| 34 | 34 | ||
| 35 | using ConsoleMotionParams = Common::ParamPackage; | 35 | using ConsoleMotionParams = std::array<Common::ParamPackage, 2>; |
| 36 | using TouchParams = std::array<Common::ParamPackage, MaxTouchDevices>; | 36 | using TouchParams = std::array<Common::ParamPackage, MaxTouchDevices>; |
| 37 | 37 | ||
| 38 | using ConsoleMotionValues = ConsoleMotionInfo; | 38 | using ConsoleMotionValues = ConsoleMotionInfo; |