diff options
author | german77 <juangerman-13@hotmail.com> | 2022-12-16 23:16:54 +0100 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2022-12-17 01:26:11 +0100 |
commit | 243404bf34b1470369e1d0f5f2dd18ac02435273 (patch) | |
tree | 90a6f4fa1da5620b07ce3c2183cbc69edd029727 /src/input_common/main.h | |
parent | Merge pull request #6354 from ogniK5377/device-name (diff) | |
download | yuzu-243404bf34b1470369e1d0f5f2dd18ac02435273.tar yuzu-243404bf34b1470369e1d0f5f2dd18ac02435273.tar.gz yuzu-243404bf34b1470369e1d0f5f2dd18ac02435273.tar.bz2 yuzu-243404bf34b1470369e1d0f5f2dd18ac02435273.tar.lz yuzu-243404bf34b1470369e1d0f5f2dd18ac02435273.tar.xz yuzu-243404bf34b1470369e1d0f5f2dd18ac02435273.tar.zst yuzu-243404bf34b1470369e1d0f5f2dd18ac02435273.zip |
Diffstat (limited to '')
-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 6218c37f6..1207d786c 100644 --- a/src/input_common/main.h +++ b/src/input_common/main.h @@ -34,6 +34,7 @@ class Keyboard; class Mouse; class TouchScreen; class VirtualAmiibo; +class VirtualGamepad; struct MappingData; } // namespace InputCommon @@ -108,6 +109,12 @@ public: /// Retrieves the underlying virtual amiibo input device. [[nodiscard]] const VirtualAmiibo* GetVirtualAmiibo() const; + /// Retrieves the underlying virtual gamepad input device. + [[nodiscard]] VirtualGamepad* GetVirtualGamepad(); + + /// Retrieves the underlying virtual gamepad input device. + [[nodiscard]] const VirtualGamepad* GetVirtualGamepad() 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 |