summaryrefslogtreecommitdiff
path: root/src/input_common/main.h
diff options
context:
space:
mode:
authorGravatar german772022-06-18 23:32:07 -0500
committerGravatar german772022-07-23 19:38:42 -0500
commitf19e7be6e84357234c9fdae3395f988a9bb1ac5b (patch)
treecc93872ac739fd7b967f8f62ea6abf2c8639221d /src/input_common/main.h
parentMerge pull request #8545 from Kelebek1/Audio (diff)
downloadyuzu-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.h9
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
32namespace InputCommon { 32namespace InputCommon {
33class Camera;
33class Keyboard; 34class Keyboard;
34class Mouse; 35class Mouse;
35class TouchScreen; 36class 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