ADDED: SetGamepadMappings() #1506

This commit is contained in:
Ray
2021-01-21 14:39:03 +01:00
parent 677f420bf0
commit 18ab694f70
2 changed files with 9 additions and 0 deletions

View File

@@ -2976,6 +2976,14 @@ int GetGamepadButtonPressed(void)
return CORE.Input.Gamepad.lastButtonPressed;
}
// Set internal gamepad mappings
int SetGamepadMappings(const char *mappings)
{
#if defined(PLATFORM_DESKTOP)
return glfwUpdateGamepadMappings(mappings);
#endif
}
// Detect if a mouse button has been pressed once
bool IsMouseButtonPressed(int button)
{