mirror of
https://github.com/glfw/glfw.git
synced 2025-02-28 13:52:54 +00:00
Fixed Hats
This commit is contained in:
parent
6bcf518685
commit
9fd9068969
@ -1074,7 +1074,8 @@ GLFWAPI const unsigned char* glfwGetJoystickHats(int jid, int* count)
|
||||
if (!_glfw.platform.pollJoystick(js, _GLFW_POLL_BUTTONS))
|
||||
return NULL;
|
||||
|
||||
return *count = js->hats;
|
||||
*count = js->hatCount;
|
||||
return js->hats;
|
||||
}
|
||||
|
||||
GLFWAPI const char* glfwGetJoystickName(int jid)
|
||||
|
Loading…
Reference in New Issue
Block a user