diff options
| author | Mai <mai.iam2048@gmail.com> | 2023-11-28 19:21:29 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-28 19:21:29 +0100 |
| commit | ac53766058ad38546b4d8128b4635edabbb5c793 (patch) | |
| tree | 223ca227a4857f08935fb0601a955fb36b68ec1f /Source/Core/InputCommon | |
| parent | bfc6bca5832d7c2e4ea39b356de775935d432687 (diff) | |
| parent | d811c12196b7692695ff2b864ea7ea348247d641 (diff) | |
Merge pull request #12215 from JosJuice/android-si-devices
Android: Add more GameCube controller types
Diffstat (limited to 'Source/Core/InputCommon')
| -rw-r--r-- | Source/Core/InputCommon/ControllerEmu/ControllerEmu.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/InputCommon/ControllerEmu/ControllerEmu.h b/Source/Core/InputCommon/ControllerEmu/ControllerEmu.h index 2f505622eb..b77b2ce3ed 100644 --- a/Source/Core/InputCommon/ControllerEmu/ControllerEmu.h +++ b/Source/Core/InputCommon/ControllerEmu/ControllerEmu.h @@ -19,6 +19,7 @@ #include "InputCommon/ControllerInterface/CoreDevice.h" class ControllerInterface; +class InputConfig; constexpr const char* DIRECTION_UP = _trans("Up"); constexpr const char* DIRECTION_DOWN = _trans("Down"); @@ -180,6 +181,8 @@ public: virtual std::string GetName() const = 0; virtual std::string GetDisplayName() const; + virtual InputConfig* GetConfig() const = 0; + virtual void LoadDefaults(const ControllerInterface& ciface); virtual void LoadConfig(Common::IniFile::Section* sec, const std::string& base = ""); |
