mirror of
https://github.com/glfw/glfw.git
synced 2026-09-22 16:52:57 +00:00
Select mapping platform name at runtime
This is done in preparation for runtime platform selection.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user