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/main.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 'src/input_common/main.h')
| -rw-r--r-- | src/input_common/main.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/input_common/main.h b/src/input_common/main.h index 147c310c4..b756bb5c6 100644 --- a/src/input_common/main.h +++ b/src/input_common/main.h | |||
| @@ -30,6 +30,7 @@ enum Values : int; | |||
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | namespace InputCommon { | 32 | namespace InputCommon { |
| 33 | class Camera; | ||
| 33 | class Keyboard; | 34 | class Keyboard; |
| 34 | class Mouse; | 35 | class Mouse; |
| 35 | class TouchScreen; | 36 | class TouchScreen; |
| @@ -92,9 +93,15 @@ public: | |||
| 92 | /// Retrieves the underlying tas input device. | 93 | /// Retrieves the underlying tas input device. |
| 93 | [[nodiscard]] TasInput::Tas* GetTas(); | 94 | [[nodiscard]] TasInput::Tas* GetTas(); |
| 94 | 95 | ||
| 95 | /// Retrieves the underlying tas input device. | 96 | /// Retrieves the underlying tas input device. |
| 96 | [[nodiscard]] const TasInput::Tas* GetTas() const; | 97 | [[nodiscard]] const TasInput::Tas* GetTas() const; |
| 97 | 98 | ||
| 99 | /// Retrieves the underlying camera input device. | ||
| 100 | [[nodiscard]] Camera* GetCamera(); | ||
| 101 | |||
| 102 | /// Retrieves the underlying camera input device. | ||
| 103 | [[nodiscard]] const Camera* GetCamera() const; | ||
| 104 | |||
| 98 | /** | 105 | /** |
| 99 | * Returns all available input devices that this Factory can create a new device with. | 106 | * Returns all available input devices that this Factory can create a new device with. |
| 100 | * Each returned ParamPackage should have a `display` field used for display, a `engine` field | 107 | * Each returned ParamPackage should have a `display` field used for display, a `engine` field |