mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-10 18:45:46 -04:00
Android: Add controller interface class
This commit is contained in:
@ -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)
|
||||
|
@ -23,6 +23,9 @@ public:
|
||||
#ifdef WIN32
|
||||
XInput,
|
||||
DInput,
|
||||
#endif
|
||||
#ifdef ANDROID
|
||||
Android,
|
||||
#endif
|
||||
Count
|
||||
};
|
||||
|
Reference in New Issue
Block a user