This commit is contained in:
Mango 2025-08-30 09:23:35 -07:00
commit 7ee8baf438
4 changed files with 19 additions and 9 deletions

View file

@ -11,7 +11,6 @@ function Button:new(x, y, r, b, c)
end
function Button:update(dt)
if self.b == "triggerleft" or self.b == "triggerright" then
if fightstick:getGamepadAxis(self.b) == 1 then
self.press = true
@ -38,4 +37,4 @@ function Button:draw()
love.graphics.circle(mode, self.x + self.r, self.y + self.r, self.r)
end
return Button
return Button