summaryrefslogtreecommitdiffstats
path: root/src/input_common/main.h
diff options
context:
space:
mode:
authorCharles Lombardo <clombardo169@gmail.com>2024-01-18 15:16:58 +0100
committerGitHub <noreply@github.com>2024-01-18 15:16:58 +0100
commit3092855d5ae1724ccef4d267e74b79b7790814f0 (patch)
treed605942f87e77856c2a19c95c627ce178db6f706 /src/input_common/main.h
parentMerge pull request #12699 from t895/overlay-saving (diff)
parentinput_common: Add android input engine (diff)
downloadyuzu-3092855d5ae1724ccef4d267e74b79b7790814f0.tar
yuzu-3092855d5ae1724ccef4d267e74b79b7790814f0.tar.gz
yuzu-3092855d5ae1724ccef4d267e74b79b7790814f0.tar.bz2
yuzu-3092855d5ae1724ccef4d267e74b79b7790814f0.tar.lz
yuzu-3092855d5ae1724ccef4d267e74b79b7790814f0.tar.xz
yuzu-3092855d5ae1724ccef4d267e74b79b7790814f0.tar.zst
yuzu-3092855d5ae1724ccef4d267e74b79b7790814f0.zip
Diffstat (limited to 'src/input_common/main.h')
-rw-r--r--src/input_common/main.h7
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;
}
namespace InputCommon {
+class Android;
class Camera;
class Keyboard;
class Mouse;
@@ -103,6 +104,12 @@ public:
/// Retrieves the underlying camera input device.
[[nodiscard]] const Camera* GetCamera() const;
+ /// Retrieves the underlying android input device.
+ [[nodiscard]] Android* GetAndroid();
+
+ /// Retrieves the underlying android input device.
+ [[nodiscard]] const Android* GetAndroid() const;
+
/// Retrieves the underlying virtual amiibo input device.
[[nodiscard]] VirtualAmiibo* GetVirtualAmiibo();