[feat] add native Android controller

This commit is contained in:
dijunkun
2026-10-01 23:17:47 +08:00
parent 149d20cbd1
commit f08194f686
73 changed files with 5466 additions and 15 deletions
+2
View File
@@ -56,6 +56,7 @@ const char* HostPlatformName(HostPlatform platform) {
case HostPlatform::MacOS: return "macos";
case HostPlatform::Linux: return "linux";
case HostPlatform::IOS: return "ios";
case HostPlatform::Android: return "android";
default: return "unknown";
}
}
@@ -65,6 +66,7 @@ HostPlatform ParseHostPlatform(const std::string& platform) {
if (platform == "macos") return HostPlatform::MacOS;
if (platform == "linux") return HostPlatform::Linux;
if (platform == "ios") return HostPlatform::IOS;
if (platform == "android") return HostPlatform::Android;
return HostPlatform::Unknown;
}