corrected a little mistake in gamepadInput
This commit is contained in:
parent
d7c426227d
commit
33375d4680
@ -56,7 +56,7 @@ public class GamepadInput {
|
||||
}
|
||||
|
||||
public boolean checkPressed(int keyCode){
|
||||
this.gamepadButton = glfwGetJoystickButtons(GLFW_JOYSTICK_1);
|
||||
this.gamepadButton = glfwGetJoystickButtons(this.gamepadNum);
|
||||
|
||||
assert gamepadButton != null;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user