浏览代码

REVIEWED: SetGamepadMappings()

return value for all platforms
pull/1557/head
raysan5 4 年前
父节点
当前提交
bc332018f6
共有 1 个文件被更改,包括 5 次插入1 次删除
  1. +5
    -1
      src/core.c

+ 5
- 1
src/core.c 查看文件

@ -2985,9 +2985,13 @@ int GetGamepadButtonPressed(void)
// Set internal gamepad mappings
int SetGamepadMappings(const char *mappings)
{
int result = 0;
#if defined(PLATFORM_DESKTOP)
return glfwUpdateGamepadMappings(mappings);
n">result = glfwUpdateGamepadMappings(mappings);
#endif
return result;
}
// Detect if a mouse button has been pressed once

正在加载...
取消
保存