mirror of
https://github.com/glfw/glfw.git
synced 2026-09-18 14:45:46 +00:00
Select mapping platform name at runtime
This is done in preparation for runtime platform selection.
This commit is contained in:
@@ -469,6 +469,11 @@ int _glfwPlatformPollJoystick(_GLFWjoystick* js, int mode)
|
||||
return js->present;
|
||||
}
|
||||
|
||||
const char* _glfwPlatformGetMappingName(void)
|
||||
{
|
||||
return "Mac OS X";
|
||||
}
|
||||
|
||||
void _glfwPlatformUpdateGamepadGUID(char* guid)
|
||||
{
|
||||
if ((strncmp(guid + 4, "000000000000", 12) == 0) &&
|
||||
|
||||
Reference in New Issue
Block a user