summaryrefslogtreecommitdiffhomepage
path: root/main.lua
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2016-08-14 23:31:04 +0200
committerAki <nthirtyone@gmail.com>2016-08-14 23:31:04 +0200
commit6f05166e85f2355826e15b54c178eac57c7853b3 (patch)
treef6c430d881cb3e0985db2464fa51f3e32cd01c5f /main.lua
parentb157604e385daa13e796acab80bcc6987ae5a555 (diff)
downloadroflnauts-6f05166e85f2355826e15b54c178eac57c7853b3.zip
roflnauts-6f05166e85f2355826e15b54c178eac57c7853b3.tar.gz
roflnauts-6f05166e85f2355826e15b54c178eac57c7853b3.tar.bz2
button to key renamed
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