summaryrefslogtreecommitdiff
path: root/src/input_common/main.h
diff options
context:
space:
mode:
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