Android: Add controller interface class

This commit is contained in:
Connor McLaughlin
2020-12-27 17:50:29 +10:00
parent cbcb8b4b89
commit 6bf37f51be
5 changed files with 270 additions and 0 deletions

View File

@ -91,6 +91,10 @@ static constexpr std::array<const char*, static_cast<u32>(ControllerInterface::B
TRANSLATABLE("ControllerInterface", "XInput"),
TRANSLATABLE("ControllerInterface", "DInput"),
#endif
#ifdef ANDROID
// Deliberately not translated as it's not exposed to users.
"Android",
#endif
}};
std::optional<ControllerInterface::Backend> ControllerInterface::ParseBackendName(const char* name)