You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the joystick:isGamepadDown() function only returns true for a singular frame instead of returning true for the duration that the button is held down, like 3.0 or regular love2d.
code to reproduce:
holding=falsefunctionlove.load()
joystick=love.joystick.getJoysticks()[1]
endfunctionlove.update()
ifjoystick:isGamepadDown("a") thenholding=trueelseholding=falseendendfunctionlove.draw(screen)
love.graphics.print(tostring(holding))
end
The text was updated successfully, but these errors were encountered:
the joystick:isGamepadDown() function only returns true for a singular frame instead of returning true for the duration that the button is held down, like 3.0 or regular love2d.
code to reproduce:
The text was updated successfully, but these errors were encountered: