corrected a little mistake in gamepadInput

This commit is contained in:
Léo 2021-06-07 13:57:05 +02:00
parent d7c426227d
commit 33375d4680

View File

@ -56,7 +56,7 @@ public class GamepadInput {
} }
public boolean checkPressed(int keyCode){ public boolean checkPressed(int keyCode){
this.gamepadButton = glfwGetJoystickButtons(GLFW_JOYSTICK_1); this.gamepadButton = glfwGetJoystickButtons(this.gamepadNum);
assert gamepadButton != null; assert gamepadButton != null;