mirror of
https://github.com/glfw/glfw.git
synced 2024-11-25 11:35:11 +00:00
Fix signedness in GLFWgamepadstate
The signedness did not match glfwGetJoystickButtons.
This commit is contained in:
parent
472e5fc4a9
commit
2d8d8f5917
@ -1529,7 +1529,7 @@ typedef struct GLFWgamepadstate
|
||||
/*! The states of each [gamepad button](@ref gamepad_buttons), `GLFW_PRESS`
|
||||
* or `GLFW_RELEASE`.
|
||||
*/
|
||||
char buttons[15];
|
||||
unsigned char buttons[15];
|
||||
/*! The states of each [gamepad axis](@ref gamepad_axes), in the range -1.0
|
||||
* to 1.0 inclusive.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user