summaryrefslogtreecommitdiff
path: root/src/input_common/input_poller.h
diff options
context:
space:
mode:
authorGravatar liamwhite2022-07-24 13:31:28 -0400
committerGravatar GitHub2022-07-24 13:31:28 -0400
commit5af06d14337a61d9ed1093079d13f68cbb1f5451 (patch)
tree88df3fada076b04c2ab2da8972d1d785f492b520 /src/input_common/input_poller.h
parentMerge pull request #8545 from Kelebek1/Audio (diff)
parentyuzu: Add webcam support and rebase to latest master (diff)
downloadyuzu-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.h11
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