Select mapping platform name at runtime

This is done in preparation for runtime platform selection.
This commit is contained in:
Camilla Löwy
2021-07-15 22:12:21 +02:00
parent d0776e04a3
commit 6d51b39106
10 changed files with 24 additions and 7 deletions
+5
View File
@@ -740,6 +740,11 @@ int _glfwPlatformPollJoystick(_GLFWjoystick* js, int mode)
return GLFW_TRUE;
}
const char* _glfwPlatformGetMappingName(void)
{
return "Windows";
}
void _glfwPlatformUpdateGamepadGUID(char* guid)
{
if (strcmp(guid + 20, "504944564944") == 0)