diff options
| author | 2022-07-24 13:31:28 -0400 | |
|---|---|---|
| committer | 2022-07-24 13:31:28 -0400 | |
| commit | 5af06d14337a61d9ed1093079d13f68cbb1f5451 (patch) | |
| tree | 88df3fada076b04c2ab2da8972d1d785f492b520 /src/input_common/input_poller.h | |
| parent | Merge pull request #8545 from Kelebek1/Audio (diff) | |
| parent | yuzu: Add webcam support and rebase to latest master (diff) | |
| download | yuzu-5af06d14337a61d9ed1093079d13f68cbb1f5451.tar.gz yuzu-5af06d14337a61d9ed1093079d13f68cbb1f5451.tar.xz yuzu-5af06d14337a61d9ed1093079d13f68cbb1f5451.zip | |
Merge pull request #8484 from german77/irs_release
service: irs: Add camera support, split processors and implement ImageTransferProcessor
Diffstat (limited to '')
| -rw-r--r-- | src/input_common/input_poller.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/input_common/input_poller.h b/src/input_common/input_poller.h index 6ebe0dbf5..4410a8415 100644 --- a/src/input_common/input_poller.h +++ b/src/input_common/input_poller.h | |||
| @@ -211,6 +211,17 @@ private: | |||
| 211 | */ | 211 | */ |
| 212 | std::unique_ptr<Common::Input::InputDevice> CreateMotionDevice(Common::ParamPackage params); | 212 | std::unique_ptr<Common::Input::InputDevice> CreateMotionDevice(Common::ParamPackage params); |
| 213 | 213 | ||
| 214 | /** | ||
| 215 | * Creates a camera device from the parameters given. | ||
| 216 | * @param params contains parameters for creating the device: | ||
| 217 | * - "guid": text string for identifying controllers | ||
| 218 | * - "port": port of the connected device | ||
| 219 | * - "pad": slot of the connected controller | ||
| 220 | * @returns a unique input device with the parameters specified | ||
| 221 | */ | ||
| 222 | std::unique_ptr<Common::Input::InputDevice> CreateCameraDevice( | ||
| 223 | const Common::ParamPackage& params); | ||
| 224 | |||
| 214 | std::shared_ptr<InputEngine> input_engine; | 225 | std::shared_ptr<InputEngine> input_engine; |
| 215 | }; | 226 | }; |
| 216 | } // namespace InputCommon | 227 | } // namespace InputCommon |