diff options
| author | 2024-01-18 09:16:58 -0500 | |
|---|---|---|
| committer | 2024-01-18 09:16:58 -0500 | |
| commit | 3092855d5ae1724ccef4d267e74b79b7790814f0 (patch) | |
| tree | d605942f87e77856c2a19c95c627ce178db6f706 /src/input_common/main.h | |
| parent | Merge pull request #12699 from t895/overlay-saving (diff) | |
| parent | input_common: Add android input engine (diff) | |
| download | yuzu-3092855d5ae1724ccef4d267e74b79b7790814f0.tar.gz yuzu-3092855d5ae1724ccef4d267e74b79b7790814f0.tar.xz yuzu-3092855d5ae1724ccef4d267e74b79b7790814f0.zip | |
Merge pull request #12702 from german77/android-input
input_common: Add android input engine
Diffstat (limited to 'src/input_common/main.h')
| -rw-r--r-- | src/input_common/main.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/input_common/main.h b/src/input_common/main.h index d64a6cb4c..1d19019ee 100644 --- a/src/input_common/main.h +++ b/src/input_common/main.h | |||
| @@ -29,6 +29,7 @@ enum Values : int; | |||
| 29 | } | 29 | } |
| 30 | 30 | ||
| 31 | namespace InputCommon { | 31 | namespace InputCommon { |
| 32 | class Android; | ||
| 32 | class Camera; | 33 | class Camera; |
| 33 | class Keyboard; | 34 | class Keyboard; |
| 34 | class Mouse; | 35 | class Mouse; |
| @@ -103,6 +104,12 @@ public: | |||
| 103 | /// Retrieves the underlying camera input device. | 104 | /// Retrieves the underlying camera input device. |
| 104 | [[nodiscard]] const Camera* GetCamera() const; | 105 | [[nodiscard]] const Camera* GetCamera() const; |
| 105 | 106 | ||
| 107 | /// Retrieves the underlying android input device. | ||
| 108 | [[nodiscard]] Android* GetAndroid(); | ||
| 109 | |||
| 110 | /// Retrieves the underlying android input device. | ||
| 111 | [[nodiscard]] const Android* GetAndroid() const; | ||
| 112 | |||
| 106 | /// Retrieves the underlying virtual amiibo input device. | 113 | /// Retrieves the underlying virtual amiibo input device. |
| 107 | [[nodiscard]] VirtualAmiibo* GetVirtualAmiibo(); | 114 | [[nodiscard]] VirtualAmiibo* GetVirtualAmiibo(); |
| 108 | 115 | ||