diff options
author | german77 <juangerman-13@hotmail.com> | 2022-09-25 03:28:27 +0200 |
---|---|---|
committer | german77 <juangerman-13@hotmail.com> | 2022-10-02 19:32:26 +0200 |
commit | da8864d00261894ebac8764786cd7fc51f8c566c (patch) | |
tree | 87d23257e312b70728824033113d4a1e69027140 /src/input_common/main.h | |
parent | input_common: Create virtual amiibo driver (diff) | |
download | yuzu-da8864d00261894ebac8764786cd7fc51f8c566c.tar yuzu-da8864d00261894ebac8764786cd7fc51f8c566c.tar.gz yuzu-da8864d00261894ebac8764786cd7fc51f8c566c.tar.bz2 yuzu-da8864d00261894ebac8764786cd7fc51f8c566c.tar.lz yuzu-da8864d00261894ebac8764786cd7fc51f8c566c.tar.xz yuzu-da8864d00261894ebac8764786cd7fc51f8c566c.tar.zst yuzu-da8864d00261894ebac8764786cd7fc51f8c566c.zip |
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 9a969e747..ced252383 100644 --- a/src/input_common/main.h +++ b/src/input_common/main.h @@ -33,6 +33,7 @@ class Camera; class Keyboard; class Mouse; class TouchScreen; +class VirtualAmiibo; struct MappingData; } // namespace InputCommon @@ -101,6 +102,12 @@ public: /// Retrieves the underlying camera input device. [[nodiscard]] const Camera* GetCamera() const; + /// Retrieves the underlying virtual amiibo input device. + [[nodiscard]] VirtualAmiibo* GetVirtualAmiibo(); + + /// Retrieves the underlying virtual amiibo input device. + [[nodiscard]] const VirtualAmiibo* GetVirtualAmiibo() const; + /** * Returns all available input devices that this Factory can create a new device with. * Each returned ParamPackage should have a `display` field used for display, a `engine` field |