Add more missing implementations 6

This commit is contained in:
ubkp 2023-10-18 00:56:13 -03:00
parent bc19f4a049
commit 7a216de279

View File

@ -338,8 +338,7 @@ void SetWindowFocused(void)
// Get native window handle // Get native window handle
void *GetWindowHandle(void) void *GetWindowHandle(void)
{ {
TRACELOG(LOG_WARNING, "GetWindowHandle() not implemented on target platform"); return (void *)platform.window;
return NULL;
} }
// Get number of monitors // Get number of monitors
@ -573,8 +572,7 @@ void OpenURL(const char *url)
// Set internal gamepad mappings // Set internal gamepad mappings
int SetGamepadMappings(const char *mappings) int SetGamepadMappings(const char *mappings)
{ {
TRACELOG(LOG_WARNING, "SetGamepadMappings() not implemented on target platform"); SDL_GameControllerAddMapping(mappings);
return 0;
} }
// Set mouse position XY // Set mouse position XY