summaryrefslogtreecommitdiffhomepage
path: root/main.lua
diff options
context:
space:
mode:
Diffstat (limited to 'main.lua')
-rw-r--r--main.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.lua b/main.lua
index a708ecb..837e156 100644
--- a/main.lua
+++ b/main.lua
@@ -78,8 +78,8 @@ function love.draw()
end
-- Pass input to Controller
function love.joystickadded(joystick) Controller.joystickadded(joystick) end
-function love.gamepadpressed(joystick, button) Controller.gamepadpressed(joystick, button) end
-function love.gamepadreleased(joystick, button) Controller.gamepadreleased(joystick, button) end
+function love.gamepadpressed(joystick, key) Controller.gamepadpressed(joystick, key) end
+function love.gamepadreleased(joystick, key) Controller.gamepadreleased(joystick, key) end
function love.keypressed(key) Controller.keypressed(key) end
function love.keyreleased(key) Controller.keyreleased(key) end