Android: Get profile name from core
To avoid duplicating information between Kotlin and C++.
This commit is contained in:
1 parent
b2e016f012
commit
d6c0f8e749
19 files changed
+75
-10
No files matched your search
@@ -5,6 +5,8 @@
|
||||
|
||||
#include <fmt/format.h>
|
||||
|
||||
#include "Core/HW/GBAPad.h"
|
||||
|
||||
#include "InputCommon/ControllerEmu/Control/Input.h"
|
||||
#include "InputCommon/ControllerEmu/ControlGroup/Buttons.h"
|
||||
#include "InputCommon/GCPadStatus.h"
|
||||
@@ -43,6 +45,11 @@ std::string GBAPad::GetName() const
|
||||
return fmt::format("GBA{}", m_index + 1);
|
||||
}
|
||||
|
||||
InputConfig* GBAPad::GetConfig() const
|
||||
{
|
||||
return Pad::GetGBAConfig();
|
||||
}
|
||||
|
||||
ControllerEmu::ControlGroup* GBAPad::GetGroup(GBAPadGroup group) const
|
||||
{
|
||||
switch (group)
|
||||
|
||||
Reference in new issue
Block a user