diff options
| author | 2022-06-18 23:32:07 -0500 | |
|---|---|---|
| committer | 2022-07-23 19:38:42 -0500 | |
| commit | f19e7be6e84357234c9fdae3395f988a9bb1ac5b (patch) | |
| tree | cc93872ac739fd7b967f8f62ea6abf2c8639221d /src/input_common/main.h | |
| parent | Merge pull request #8545 from Kelebek1/Audio (diff) | |
| download | yuzu-f19e7be6e84357234c9fdae3395f988a9bb1ac5b.tar.gz yuzu-f19e7be6e84357234c9fdae3395f988a9bb1ac5b.tar.xz yuzu-f19e7be6e84357234c9fdae3395f988a9bb1ac5b.zip | |
input_common: Add camera driver
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 |