[split] rcore, web, desktop, android changes (batch 4) (#3343)

* Fix ToggleBorderlessWindowed duplicated glfwSetWindowSize calls

* First pass to remove unneeded platform macros for android

* Second pass to remove unneeded platform macros for android

* Remove unneeded platform macros for desktop

* Relocate GetGamepadName and update SetGamepadMappings on android, desktop, web

* Add missing comment to web
This commit is contained in:
ubkp 2023-09-23 18:01:13 -03:00 • committed by GitHub
commit b3c2ff2905
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1035,6 +1035,14 @@ void OpenURL(const char *url)
}
}
// Get selected monitor physical width in millimetres
int GetMonitorPhysicalWidth(int monitor)
{
return 0;
}
// NOTE: Gamepad support not implemented in emscripten GLFW3 (PLATFORM_WEB)
// Get gamepad internal name id
const char *GetGamepadName(int gamepad)
{
@ -1045,12 +1053,6 @@ const char *GetGamepadName(int gamepad)
return name;
}
// Get selected monitor physical width in millimetres
int GetMonitorPhysicalWidth(int monitor)
{
return 0;
}
// Get gamepad axis count
int GetGamepadAxisCount(int gamepad)
{
@ -1060,6 +1062,8 @@ int GetGamepadAxisCount(int gamepad)
// Set internal gamepad mappings
int SetGamepadMappings(const char *mappings)
{
TRACELOG(LOG_INFO, "SetGamepadMappings not implemented in rcore_web.c");
return 0;
}