ref: 67765fd0ad5b2804c0906d0c44864fe9ec45a146
parent: 26de0b6043726b7c10b22020f1ee81e0bd167192
author: Clownacy <[email protected]>
date: Sat Apr 4 20:54:45 EDT 2020
Fix
--- a/src/Backends/GLFW3/Controller.cpp
+++ b/src/Backends/GLFW3/Controller.cpp
@@ -29,7 +29,7 @@
const float *axes = glfwGetJoystickAxes(joystick_id, &total_axes);
int total_buttons;
- const unsigned char *buttons = glfwGetJoystickButtons(connected_joystick_id, &total_buttons);
+ const unsigned char *buttons = glfwGetJoystickButtons(joystick_id, &total_buttons);
if (total_axes >= 2 && total_buttons >= 6)
{