diff options
author | Aki <nthirtyone@gmail.com> | 2016-08-14 23:31:04 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2016-08-14 23:31:04 +0200 |
commit | 6f05166e85f2355826e15b54c178eac57c7853b3 (patch) | |
tree | f6c430d881cb3e0985db2464fa51f3e32cd01c5f | |
parent | b157604e385daa13e796acab80bcc6987ae5a555 (diff) | |
download | roflnauts-6f05166e85f2355826e15b54c178eac57c7853b3.zip roflnauts-6f05166e85f2355826e15b54c178eac57c7853b3.tar.gz roflnauts-6f05166e85f2355826e15b54c178eac57c7853b3.tar.bz2 |
button to key renamed
-rw-r--r-- | main.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |