mirror of
https://github.com/glfw/glfw
synced 2026-09-26 16:18:21 +03:00
wait-events: fix for _glfwInputJoystickAxis
- set newEventsRcvd to true when joystick axis changes
This commit is contained in:
parent
0eaf92b220
commit
e3e65260c9
1 changed files with 2 additions and 0 deletions
|
|
@ -454,6 +454,8 @@ void _glfwInputJoystickAxis(_GLFWjoystick* js, int axis, float value)
|
|||
assert(axis < js->axisCount);
|
||||
|
||||
js->axes[axis] = value;
|
||||
|
||||
_glfw.newEventsRcvd = GLFW_TRUE;
|
||||
}
|
||||
|
||||
// Notifies shared code of the new value of a joystick button
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue