ref: d957c40649890ef0ee40fe46b422198dbeb88fcf
parent: 659f89ea85658e789eafb66d1447617d691d925f
author: Clownacy <Clownacy@users.noreply.github.com>
date: Sat Apr 4 15:04:20 EDT 2020
Fix bug
--- a/src/Backends/GLFW3/Controller.cpp
+++ b/src/Backends/GLFW3/Controller.cpp
@@ -25,7 +25,7 @@
if (!joystick_connected)
{
int total_axis;
- const float *axis = glfwGetJoystickAxes(connected_joystick_id, &total_axis);
+ const float *axis = glfwGetJoystickAxes(joystick_id, &total_axis);
if (total_axis >= 2)
{